STR-492: Standard C99: report all warnings and standards compliance
Currently, there are a few “-Wall” flags floating around the stratego tree, but it might be nicer to have instead “-std=c89 -Wall -pedantic”. This will make the compiler warn on use of GCC extensions (e.g. nested functions), though with a little luck they’ll be gone soon enough anyway. ;)
Submitted on 17 December 2005 at 16:23
Issue Log
On 17 December 2005 at 16:38 Jira commented:
STR-492, martin:
Yes, we should standardize this a bit in Stratego/XT. This can be done in autoxt.m4: just check for if GCC is yes, and then set some variable to these warning flags.
On 9 August 2006 at 17:52 Jira commented:
STR-492, martin:
Build system now gives warnings, buildfarm tests with -Werror and in the future we’ll even be C99 compatible if requested. That will be fixed as part of STR-613.
Log in to post comments