Disabling gcc extensions

Scott Tringali scott.tringali at totalviewtech.com
Fri Feb 29 21:03:11 CET 2008


I finally figured out how to get gcc to disable compile in C89 mode, 
without going whole-hog and disabling all of Unix:

   CFLAGS = -std=c89 -U__STRICT_ANSI__

This way it flags // as a compile error, but everything else still works.



More information about the Develop mailing list