# Problem with ifort compiler and type(C\_PTR)

**URL:** <https://fortran-lang.discourse.group/t/problem-with-ifort-compiler-and-type-c-ptr/7011>\
**Category:** Uncategorized\
**Created:** [December 18, 2023, 3:43pm UTC](https://fortran-lang.discourse.group/t/problem-with-ifort-compiler-and-type-c-ptr/7011 "2023-12-18T15:43:02Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![zaikunzhang](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/zaikunzhang/32/785_2.png) [@zaikunzhang](https://fortran-lang.discourse.group/u/zaikunzhang)\
**Post date:** [December 19, 2023, 2:10am UTC](https://fortran-lang.discourse.group/t/problem-with-ifort-compiler-and-type-c-ptr/7011/6 "2023-12-19T02:10:36Z")

</div>

For those who are interested, the problem arises when we add a callback to the C interface of [PRIMA](https://github.com/libprima/prima). See

> **[Comparing libprima:main...nbelakovski:add\_callback · libprima/prima](https://github.com/libprima/prima/compare/main...nbelakovski:prima:add_callback)**
>
> PRIMA is a package for solving general nonlinear optimization problems without using derivatives. It provides the reference implementation for Powell's derivative-free optimization methods, i.e...

---

_[View the full topic](https://fortran-lang.discourse.group/t/problem-with-ifort-compiler-and-type-c-ptr/7011)._
