This is the mail archive of the gcc-bugs@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]

[Bug c++/12479] System header should not cause -pedantic to error about "extra `;'"


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12479



------- Additional Comments From gdr at integrable-solutions dot net  2003-10-01 18:44 -------
Subject: Re:  System header should not cause -pedantic to error about "extra `;'"

"levon at movementarian dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| The manual should clarify this very odd behaviour. Currently :
| 
| `-pedantic'
|      Issue all the warnings demanded by strict ISO C and ISO C++;
|      reject all programs that use forbidden extensions, and some other
|      programs that do not follow ISO C and ISO C++.
| 
| does not make the behaviour clear; in particular, no such distinction
| between C and C++ is made that I could see.

Probably.  The -pedantic can turn pedwarns into errors.  We've had
that behaviour for ages.

-- Gaby


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