I am compiling with the command line option std=c99, my code compiles fine without out this command, but put it in and all of a sudden you get M_PI undefined. This also happens when compiling with gcc; adding std=c99 creates a lot of M_PI undefined errors.
You may ask why am I compiling with std=c99 as a command line option.
I must do it. My previous thread about false error messages when compiling with icc without the std=c99 option. One cannot nest for loops with cilk_for option; if you do you get a error message.
The workaround is touse
plus some other cl options, but they are secondary. How should I fix this error?
Thanks in advance.