bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#28906: flymake test different-diagnostic-types fails


From: Glenn Morris
Subject: bug#28906: flymake test different-diagnostic-types fails
Date: Thu, 19 Oct 2017 19:55:58 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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 */
                   ^






reply via email to

[Prev in Thread] Current Thread [Next in Thread]