ccopts=-pedantic -Os
cc=g++ $(ccopts) -c $(FileNameExt) -o $(FileName).o
ccc=gcc $(ccopts) -c $(FileNameExt) -o $(FileName).o
command.compile.*.c=$(ccc) -std=c99

I think that "gcc -Wall -O2" is much more popular
than "gcc -pedantic -Os -std=c99".
"-pedantic" warns about things like string constants
longer than 520 or so characters (at least without "-std=c99").

gcc documentation about "-std=c99":

ISO C99. Note that this standard is not yet fully supported;
see http://gcc.gnu.org/gcc-4.0/c99status.html for more information.
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to