[Bug c/38938] New: -Wno-all doesn't work on -Wpointer-sign

hjl dot tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jan 22 23:48:00 GMT 2009


[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



More information about the Gcc-bugs mailing list