Menu

#180 c99 standard

open
nobody
None
5
2012-09-26
2003-05-15
Anonymous
No

An "Ansi/ISO C99 standard compatibility" option should be
added.
gcc -std=c99 -output -input.c (for mingw)

Also other options like this should be implemented in
compiler menu:
-std=c89 (it is now as support ansi... or som. like this)
-std=c90

Maybe -pedantic option can improve this:
gcc -std=c99 -output -input.c
but I am not sure.
(
So maybe this option is the best to force C99
compatibility:
gcc -pedantic -std=c99 -output input.c
?)

Summary:
new switches:
-std=c99
-std=c90
-std=c89

and (maybe) additional: -pedantic

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.