UUGRN

Re: GCC mit precompiled header?

From
Mathias Waack <mathias@...>
Date
On Saturday 15 June 2002 22:05, Mark Seuffert wrote:
> Ging mir genauso. Etwas Brauchbares hab ich via Google bei Apple gefunden:
>
> http://developer.apple.com/techpubs/macosx/ReleaseNotes/GCC3.html

Das klingt fuer mich alles sehr verwirrend, verstehst Du das alles?

Note that GCC 3 allows you to use only one precompiled header at a time. If
your project uses more than one precompiled header, write one new header that
includes the others and precompile that new header.

Also, fuer gewoehnlich enthaelt ein C++ Programm jede Menge Header...

A precompiled header can contain any code that a header can, including
declarations and preprocessor macros, but not definitions. Keep the following
points in mind:

Fuer gewoehnlich enthaelt ein Header, insbesondere unter C++, jede Menge
Definitionen, ich denke da zuerst an Templates und inline-Funktionen. D.h.,
der gcc kann so ziemlich keinen Header der STL "precompilen"?

Mathias

Thread

In reply to: Re: GCC mit precompiled header? Mark Seuffert <captain@...>

Follow-ups: