GNU bug report logs -
#28906
flymake test different-diagnostic-types fails
Previous Next
Reported by: Glenn Morris <rgm <at> gnu.org>
Date: Thu, 19 Oct 2017 22:49:01 UTC
Severity: normal
Found in version 26.0.90
Fixed in version 26.0.91
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #12 received at 28906 <at> debbugs.gnu.org (full text, mbox):
And here's the output with gcc 5.3 on the same system, where the test passes:
cc -c -o errors-and-warnings.o errors-and-warnings.c
In file included from errors-and-warnings.c:3:0:
some-problems.h:3:1: warning: data definition has no type or storage class
strange;
^
some-problems.h:3:1: warning: type defaults to 'int' in declaration of 'strange' [-Wimplicit-int]
some-problems.h:5:1: error: unknown type name 'sint'
sint main();
^
errors-and-warnings.c: In function 'main':
errors-and-warnings.c:9:12: warning: overflow in implicit constant conversion [-Woverflow]
char c = 1000; /* a note and a warning */
^
errors-and-warnings.c:11:8: error: redeclaration of 'c' with no linkage
char c; if (bla == (void*)3); /* an error, and two warnings */
^
errors-and-warnings.c:9:8: note: previous definition of 'c' was here
char c = 1000; /* a note and a warning */
^
errors-and-warnings.c:11:19: warning: comparison between pointer and integer
char c; if (bla == (void*)3); /* an error, and two warnings */
^
This bug report was last modified 7 years and 314 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.