Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Incompatible Pointer Type

Incompatible Pointer Type

For a fairly large model, I get errors in the initialNonLinearSystem function of "43:warning: assignment from incompatible pointer type [Wincompatible-pointer-types]"

I am running the 64 bit windows version, latest nightly build (OpenModelica-v1.11.0-dev-54-g4ec62d0-64bit.exe). I also tested with the Linux version on a VM, and did not get that error. Seems like this is a compiler bug.

Unfortunately I can't share my code for the error to be replicated, but I can tell you this has a significant amount of nonlinearities.

Re: Incompatible Pointer Type

Hi,
Is this issue sorted? I'm getting the same error!

-Swaroop

There are 0 guests and 0 other users also viewing this topic