You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code is compiled with -std=c99 flag, but the C99 standard dropped M_PI and all other mathc defines of the same type. When compiling a compiler that strictly respects ISO like gcc, it generates a M_PI undefined error.
You should probably define your own PI, or compile with -std=gnu99 flag, for instance.
The text was updated successfully, but these errors were encountered:
The code is compiled with
-std=c99
flag, but the C99 standard dropped M_PI and all other mathc defines of the same type. When compiling a compiler that strictly respects ISO likegcc
, it generates a M_PI undefined error.You should probably define your own PI, or compile with
-std=gnu99
flag, for instance.The text was updated successfully, but these errors were encountered: