Summary: | [3.4 Regression] cc1plus: error: unrecognized command line option "-Wno-pointer-sign" | ||
---|---|---|---|
Product: | gcc | Reporter: | eric.valette |
Component: | other | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | minor | CC: | gcc-bugs |
Priority: | P2 | Keywords: | diagnostic |
Version: | 3.4.0 | ||
Target Milestone: | 3.4.5 | ||
Host: | Target: | ||
Build: | Known to work: | 4.0.0 4.1.0 4.0.1 | |
Known to fail: | 3.4.0 3.3.3 3.2.3 | Last reconfirmed: | 2005-07-16 14:23:17 |
Description
eric.valette
2005-07-16 14:08:31 UTC
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". Yes you are right g++ is : g++ -v Reading specs from /usr/lib/gcc/i486-linux-gnu/3.4.5/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --disable-werror i486-linux-gnu Thread model: posix gcc version 3.4.5 20050706 (prerelease) (Debian 3.4.4-5) Thanks for you quick response 3.4 does not contain such option at all. I wonder in what way 3.0.4 was special in this regard ;) |