Why does not GCC compile the C99 by default? I mean why is it necessary to add –std=c99 flag
everytime a code in C99 is written?
Why does not GCC compile the C99 by default? I mean why is it
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Edit: As of GCC 5,
-std=gnu11is the default. See Porting to GCC 5.See C Dialect Options,
gnu89is the default.As @tsv mentioned, ISO C99 is not fully supported yet:
And also: