tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] make test fails with gcc 4


From: Marcelo Jimenez
Subject: [Tinycc-devel] make test fails with gcc 4
Date: Sat, 3 Sep 2005 21:14:37 -0300

I get:

tcctest.c:1822: error: jump into statement expression

Among other warnings:

gcc -O0 -march=athlon-4 -mfpmath=sse -g -Wall
-mpreferred-stack-boundary=2 -falign-functions=0 -fno-strict-aliasing
-I. -o tcctest.ref tcctest.c
tcctest.c:266:5: warning: multi-line comment
tcctest.c: In function 'string_test':
tcctest.c:312: warning: format '%C' expects type 'wint_t', but
argument 2 has type 'long int'
tcctest.c:312: warning: format '%C' expects type 'wint_t', but
argument 4 has type 'long int'
tcctest.c: In function 'isid':
tcctest.c:638: warning: suggest parentheses around comparison in operand of &
tcctest.c:638: warning: suggest parentheses around comparison in operand of &
tcctest.c:638: warning: suggest parentheses around comparison in operand of |
tcctest.c: At top level:
tcctest.c:968: warning: return type defaults to 'int'
tcctest.c:978: warning: return type defaults to 'int'
tcctest.c: In function 'struct_assign_test':
tcctest.c:1026: warning: unused variable 'lsta1'
tcctest.c: In function 'cast_test':
tcctest.c:1080: warning: overflow in implicit constant conversion
tcctest.c:1088: warning: array subscript has type 'char'
tcctest.c: At top level:
tcctest.c:1107: warning: braces around scalar initializer
tcctest.c:1107: warning: (near initialization for 'sinit3[2]')
tcctest.c:1107: warning: braces around scalar initializer
tcctest.c:1107: warning: (near initialization for 'sinit3[2]')
tcctest.c:1109: warning: missing braces around initializer
tcctest.c:1109: warning: (near initialization for 'sinit5[0]')
tcctest.c:1133: warning: missing braces around initializer
tcctest.c:1133: warning: (near initialization for 'sinit16[0].a')
tcctest.c:1139: warning: missing braces around initializer
tcctest.c:1139: warning: (near initialization for 'sinit17[0]')
tcctest.c: In function 'float_test':
tcctest.c:1405: warning: this decimal constant is unsigned only in ISO C90
tcctest.c:1408: warning: this decimal constant is unsigned only in ISO C90
tcctest.c:1386: warning: unused variable 'fb'
tcctest.c: In function 'longlong_test':
tcctest.c:1577: warning: integer constant is too large for 'long' type
tcctest.c: In function 'vprintf1':
tcctest.c:1653: warning: implicit declaration of function 'putchar'
tcctest.c: In function 'whitespace_test':
tcctest.c:1670: warning: unused variable 'str'
tcctest.c: In function 'local_label_test':
tcctest.c:1822: error: jump into statement expression
tcctest.c:1822: warning: label 'l5' defined but not used
tcctest.c: At top level:
tcctest.c:1880: warning: type qualifiers ignored on function return type
tcctest.c: In function 'asm_test':
tcctest.c:1920: warning: integer constant is too large for 'long' type
make: *** [tcctest.ref] Error 1




reply via email to

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