This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
-Wno-long-long does not suppress all long long msgs
- To: gcc-bugs at gcc dot gnu dot org
- Subject: -Wno-long-long does not suppress all long long msgs
- From: Tim Josling <tej at melbpc dot org dot au>
- Date: Fri, 15 Dec 2000 06:49:50 +1100
- Organization: Melbourne PC User Group
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