Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't redefine "CALL" macro #551

Closed
t-sommer opened this issue Aug 8, 2024 · 0 comments · Fixed by #577
Closed

Don't redefine "CALL" macro #551

t-sommer opened this issue Aug 8, 2024 · 0 comments · Fixed by #577
Labels
bug Something isn't working

Comments

@t-sommer
Copy link
Collaborator

t-sommer commented Aug 8, 2024

when compiling from source

In file included from /mnt/c/Users/xxx/AppData/Local/Temp/1309/sources/all.c:5:
/mnt/c/Users/xxx/AppData/Local/Temp/1309/sources/cosimulation.c:18: warning: "CALL" redefined
   18 | #define CALL(f) do { const Status status = f; if (status != OK) return status; } while (false)
      | 
In file included from /mnt/c/Users/xxx/AppData/Local/Temp/1309/sources/all.c:3:
/mnt/c/Users/xxx/AppData/Local/Temp/1309/sources/fmi2Functions.c:178: note: this is the location of the previous definition
  178 | #define CALL(f) do { \
      | 
@t-sommer t-sommer added the bug Something isn't working label Aug 8, 2024
@t-sommer t-sommer changed the title Dont't redefine "CALL" macro Don't redefine "CALL" macro Aug 8, 2024
t-sommer added a commit to t-sommer/Reference-FMUs that referenced this issue Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant