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/30551] -pedantic does not include -Wmain, but -pedantic-errors does make -Wmain cause error messages



------- Comment #1 from manu at gcc dot gnu dot org  2007-10-29 20:35 -------
Wmain is using pedwarn when it should use warning (OPT_Wmain,""). It is also an
error by default (unless -fpermissive) in C++ while it is not even enabled in
C.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-10-29 20:35:08
               date|                            |


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


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