|Subject:||[Tinycc-devel] cached header files cause multi-includes to fail|
|Date:||Wed, 8 Jul 2009 20:50:58 +0200|
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.
|[Prev in Thread]||Current Thread||[Next in Thread]|