help-gplusplus
[Top][All Lists]
Advanced

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

Re: The g++ preprocessor: Include Guards


From: Bernd Strieder
Subject: Re: The g++ preprocessor: Include Guards
Date: Wed, 20 Jun 2007 15:16:25 +0200
User-agent: KNode/0.10.4

Hello,

 gutmant@gmail.com wrote:

> Yes, what you suggest will work, but is impractical when you have an
> amount or code that takes hours to compile you need to fix... :/
> I'm looking for a solution along the lines of adding a flag, or using
> a different preprocessor maybe...
> Do you know anything like that?

No, sorry. Perhaps you could create a header file containing only a
comment, and prepend #include "new_header.h" to all files in the
project, should not be too hard with a script. Perhaps you can even
copy that file to all directories to avoid -I problems.

Perhaps you can tell what you really want. This seems pretty strange to
me.

Bernd Strieder




reply via email to

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