This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: long long, C++ testsuite and -ansi -pedantic-errors
>>>>> "Gabriel" == Gabriel Dos Reis <gdr@codesourcery.com> writes:
Gabriel> G++ does accept long long with just a warning (a
Gabriel> pedwarn); and that is fine.
Gabriel> The point here is that -pedantic-errors is documented as:
Gabriel> -pedantic-errors Like -pedantic, except that errors are
Gabriel> produced rather than warnings.
Thanks for explaining this carefully. I agree with you;
-pedantic-errors should be pedantic and issue errors, so pedantically
complaining about long long is reasonable with those flags.
But there's still the issue of how to run the testsuite. I think Mike
made a concrete suggestion (turn off the error). What do you suggest
instead?
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com