public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/22511] New: cc1plus: error: unrecognized command line option "-Wno-pointer-sign"
@ 2005-07-16 14:23 eric dot valette at free dot fr
  2005-07-16 14:32 ` [Bug other/22511] [3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: eric dot valette at free dot fr @ 2005-07-16 14:23 UTC (permalink / raw)
  To: gcc-bugs

Handling of -Wno-pointer-sign when used with g++ is not consistent with other C
specific warning option (at least -Wstrict-prototypes -Wdeclaration-after-statement)

May I suggest to also emit a warning instead of an error as many people use
CXXFLAGS= $(CFLAGS) + $(c++ specific options)


cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid
for C/ObjC but not for C++
cc1plus: error: unrecognized command line option "-Wno-pointer-sign"

-- 
           Summary: cc1plus: error: unrecognized command line option "-Wno-
                    pointer-sign"
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: eric dot valette at free dot fr
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-31 13:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-16 14:23 [Bug c++/22511] New: cc1plus: error: unrecognized command line option "-Wno-pointer-sign" eric dot valette at free dot fr
2005-07-16 14:32 ` [Bug other/22511] [3.4 Regression] " pinskia at gcc dot gnu dot org
2005-07-16 15:03 ` eric dot valette at free dot fr
2005-08-31 13:29 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).