error: "no newline at end of file"
Gabriel Dos Reis
gdr@cs.tamu.edu
Tue Mar 27 15:52:00 GMT 2007
Martin Michlmayr <tbm@cyrius.com> writes:
| * Gabriel Dos Reis <gdr@cs.tamu.edu> [2007-03-27 09:33]:
| > -pedantic asks for strict checking of rules. User should accept
| > correcting their codes (or used codes) with they ask for strict
| > checking.
|
| They didn't "ask" for it because G++ does it by default.
-pedantic transforms a pedwarn into an error -- otherwise the
diagnostic remains an unconditional warning. If it is an
unconditional error, then something is odd in the setting of flags.
-- Gaby
More information about the Gcc
mailing list