tinycc-devel
[Top][All Lists]
Advanced

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

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


From: grischka
Subject: Re: [Tinycc-devel] cached header files cause multi-includes to fail
Date: Fri, 10 Jul 2009 11:56:33 +0200
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

Simon Lehmayr wrote:
Hi,

the project works this way:

ee.c:
--------
...
#include "ee.h"
...
--------
ee.h:
--------
#ifndef ...
#define ...

#include "ee_cfg.h"
...
enum blabla
{
#define CFG1
#include "ee_cfg.h"
EE_MAX_E
};
...
--------
And thus the following includes are just ignored


Well, tcc's header cache may be stupid but it is not so stupid that a
file can't be included twice.  After all tcc's own source is doing this
(with tcctok.h).   So there must be something special with your project
that you didn't show yet.




reply via email to

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