[Bug other/22511] [3.4 Regression] cc1plus: error: unrecognized command line option "-Wno-pointer-sign"

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jul 16 14:32:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-16 14:23 -------
Confirmed. Only a 3.4 regression.
4.0.0 and 4.0.1 (and the mainline) produces:
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for C/ObjC but not for C++
3.0.4 produced no warning or error.
2.95.3 did not have "-Wpointer-sign" so we errored out when using "-Wno-pointer-sign".

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|c++                         |other
     Ever Confirmed|                            |1
           Keywords|                            |diagnostic
      Known to fail|                            |3.4.0 3.3.3 3.2.3
      Known to work|                            |4.0.0 4.1.0 4.0.1
   Last reconfirmed|0000-00-00 00:00:00         |2005-07-16 14:23:17
               date|                            |
            Summary|cc1plus: error: unrecognized|[3.4 Regression] cc1plus:
                   |command line option "-Wno-  |error: unrecognized command
                   |pointer-sign"               |line option "-Wno-pointer-
                   |                            |sign"
   Target Milestone|---                         |3.4.5
            Version|4.0.1                       |3.4.0


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



More information about the Gcc-bugs mailing list