|
From: | João Távora |
Subject: | bug#28906: flymake test different-diagnostic-types fails |
Date: | Fri, 20 Oct 2017 01:00:14 +0100 |
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 */
^
[Prev in Thread] | Current Thread | [Next in Thread] |