tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] pp bug


From: Sergey Korshunoff
Subject: Re: [Tinycc-devel] pp bug
Date: Sun, 3 May 2015 00:12:27 +0300

Hi!
A test program:
#define ACPI_TYPE_INVALID   0x1E
#define NUM_NS_TYPES        ACPI_TYPE_INVALID+1
extern const char acpi_gbl_ns_properties[NUM_NS_TYPES];
int main() { return 0; }

tcc -E test.c -o test.i
tcc -c test.i

Some of the last tcc have problems with this.
extern const char acpi_gbl_ns_properties[0x1E +1]; // gcc
extern const char acpi_gbl_ns_properties[0x1E+1]; // tcc

Strange, but there is no problem with the same test if
tcc -c test.c
(w/o preprocessor step)



reply via email to

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