Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am trying to retrieve data from database using C in ubuntu. While compiling, i have read in a forum that std=c99 has to be used for compilation.

Could somone say what it is.
Posted

1 solution

C99 is a C language standard - http://en.wikipedia.org/wiki/C99[^]
By setting the flag std=C99 you invoke GCC in a C99 compilant mode...
By default GCC does not conform to any standard (but enables all GNU specific extensions), so if you want to compile some standard code you have to set it...
http://gcc.gnu.org/onlinedocs/gcc-4.7.2/gcc/Standards.html[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900