Re: GCC precompiled headers question

2010-05-09 Thread Hedayat Vatankhah
Hi, On ۱۰/۰۵/۰۶ 03:34, Christoph � wrote: Hi all, this is an off topic question, but since I know that some of you are familiar with gcc, I am asking it here before signing up somewhere else. I have to source-compile one language (Modelica) to C++. Since Modelica has a structural subtype

Re: GCC precompiled headers question

2010-05-09 Thread Christoph Höger
Am Sonntag, den 09.05.2010, 04:25 +0200 schrieb Kevin Kofler: Christoph Höger wrote: Unfortunately g++ also allows one single precompiled header per compilation unit. Does anyone know why? Because a g++ precompiled header is more or less a dump of the complete compiler state, which is

Re: GCC precompiled headers question

2010-05-09 Thread Matt McCutchen
On Sun, 2010-05-09 at 04:25 +0200, Kevin Kofler wrote: Christoph Höger wrote: Unfortunately g++ also allows one single precompiled header per compilation unit. Does anyone know why? Because a g++ precompiled header is more or less a dump of the complete compiler state, which is loaded

Re: GCC precompiled headers question

2010-05-08 Thread Kevin Kofler
Christoph Höger wrote: Unfortunately g++ also allows one single precompiled header per compilation unit. Does anyone know why? Because a g++ precompiled header is more or less a dump of the complete compiler state, which is loaded and from which compilation continues. Obviously this can only

GCC precompiled headers question

2010-05-06 Thread Christoph Höger
Hi all, this is an off topic question, but since I know that some of you are familiar with gcc, I am asking it here before signing up somewhere else. I have to source-compile one language (Modelica) to C++. Since Modelica has a structural subtype system, I'd like to create classes that way: