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]

-Wno-long-long does not suppress all long long msgs


See below. While it does suppress the warnings for using long
long values, when you try and define long long constants or print
them out you still get warnings. 

This is on the 12/12/2000 weekly snapshot. 

If people think it is OK to suppress these warnings when
-Wno-long-long is specified, I am happy to do a patch to do it,

Tim Josling

gcc -o cobol/cobcast.o -c  -DIN_GCC    -g  -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-pedantic -Wno-long-long -Wmissing-prototypes
-Wmissing-declarations  -DHAVE_CONFIG_H -I. -Icobol -I../../gcc
-I../../gcc/cobol -I../../gcc/config -I../../gcc/../include
../../gcc/cobol/cobcast.c 
../../gcc/cobol/cobcast.c: In function
`get_string_signed_long_long_value':
../../gcc/cobol/cobcast.c:980: warning: ANSI C forbids long long
integer constants
../../gcc/cobol/cobcast.c:989: warning: ANSI C forbids long long
integer constants
../../gcc/cobol/cobcast.c: In function
`get_string_nonsigned_long_long_value':
../../gcc/cobol/cobcast.c:1017: warning: ANSI C forbids long long
integer constants
../../gcc/cobol/cobcast.c:1017: warning: ANSI C does not support
the `L' length modifier

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