This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/38938] New: -Wno-all doesn't work on -Wpointer-sign
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2009 23:47:52 -0000
- Subject: [Bug c/38938] New: -Wno-all doesn't work on -Wpointer-sign
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
[hjl@gnu-6 pr36159]$ cat f.c
/* foo /* */
int *
foo (unsigned int *x)
{
return x;
}
[hjl@gnu-6 pr36159]$ /export/build/gnu/gcc-avx/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-avx/build-x86_64-linux/gcc/ -c f.c
[hjl@gnu-6 pr36159]$ /export/build/gnu/gcc-avx/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-avx/build-x86_64-linux/gcc/ -c f.c -Wall
f.c:1:8: warning: "/*" within comment
f.c: In function ?foo?:
f.c:6: warning: pointer targets in return differ in signedness
[hjl@gnu-6 pr36159]$ /export/build/gnu/gcc-avx/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-avx/build-x86_64-linux/gcc/ -c f.c -Wno-all
f.c: In function ?foo?:
f.c:6: warning: pointer targets in return differ in signedness
[hjl@gnu-6 pr36159]$
--
Summary: -Wno-all doesn't work on -Wpointer-sign
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl dot tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38938