This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]