This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why does -pedantic make long long an error in C++?


In fact the C++ front-end is different from the C front end in respect to -pedantic.
Here is the patch which changed the "long long" -pedantic into errors: <http://gcc.gnu.org/ml/gcc-patches/2003-07/msg01060.html>
Looks like the warning about "long long" with -pedantic was always indented to be an error not a warning.


Thanks,
Andrew Pinski

Adding Mark to CC since it was his patch which caused this, maybe he has something to say.


On Wednesday, Aug 13, 2003, at 18:09 US/Eastern, Andrew Pinski wrote:


On Wednesday, Aug 13, 2003, at 17:43 US/Eastern, Joe Buck wrote:

There's no argument on this issue: -pedantic is supposed to issue only
warnings.  It's a bug.

What are taking about, gcc used to error out with -pedantic when typename was missing.
In fact there was a bug about that and was closed as invalid (a long time ago).



Thanks, Andrew Pinski





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]