On Thu, Oct 09, 2008 at 09:58:15PM +0200, Shachar Shemesh wrote:
> Here's what I do:
> $ gcc -x c -o precomp.h.gch -c precomp.h -g -Wall -O2
> Uncomment the "error" line
> $ gcc -x c -o hello.o -c hello.c -g -Wall -O2
> In file included from hello.c:1:
> precomp.h:4:2: error: #error Include twice

Never worked with this or read about this, just a guess: Perhaps it has
some timestamp inside the header, or some checksome, that it checks, and
if it turns out to be identical to the real header, it uses the compiled
one, and if it's different, it recompiles/ignores?
-- 
Didi


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to