Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

GCC 4.4.4 C99 EXTREME WARNING MODE

Name: Anonymous 2010-08-29 6:05

I want to compile a C99 program in GCC 4.4.4 but I want to do it in EXTREME WARNING MODE.

How do I do that?

Name: Anonymous 2010-08-30 11:06

>>17
No, sorry, you're incorrect. Please don't make shit up.

By default, GCC provides some extensions to the C language that on rare occasions conflict with the C standard. See Extensions to the C Language Family. Use of the -std options listed above will disable these extensions where they conflict with the C standard version selected. You may also select an extended version of the C language explicitly with -std=gnu90 (for C90 with GNU extensions), -std=gnu99 (for C99 with GNU extensions) or -std=gnu1x (for C1X with GNU extensions). The default, if no C language dialect options are given, is -std=gnu90; this will change to -std=gnu99 in some future release when the C99 support is complete. Some features that are part of the C99 standard are accepted as extensions in C90 mode.
http://gcc.gnu.org/onlinedocs/gcc/Standards.html

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List