tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] cached header files cause multi-includes to fail


From: Simon Lehmayr
Subject: [Tinycc-devel] cached header files cause multi-includes to fail
Date: Wed, 8 Jul 2009 20:50:58 +0200

Hi,
 
I found an error in tcc while compiling a project which uses one header that includes another header several times using defines to generate different code.
Caching of headers hides the following includes thus no code is generated in these cases.
I disabled caching by returning NULL in the cache check.
Caching should include the environmental state (defines, etc) to avoid this problem.
 
Greetings,
Simon

reply via email to

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