On Sat, Oct 28, 2006 at 06:14:22PM +0200, Peter Kümmel wrote:
> Bo Peng wrote:
> >> When developing with the the cmake build system,
> >> precompiled headers are used and all /
> >> headers are included by default. So there is no
> >> error if the header is not included, but the scons/auto
> >> bui
No lyx headers are precompiled any more (like in my initial pch),
now only boost, stl, and in the case of qt4 the Qt headers
are precompiled. Is this really too much?
The problem can be easily identified and fixed, so it is not a big
deal. Maybe someday you can find a bullet-proof pch approach.
Bo Peng wrote:
>> When developing with the the cmake build system,
>> precompiled headers are used and all /
>> headers are included by default. So there is no
>> error if the header is not included, but the scons/auto
>> builds will fail.
>
> Your pch approach is convenient, fast, but error-prone
When developing with the the cmake build system,
precompiled headers are used and all /
headers are included by default. So there is no
error if the header is not included, but the scons/auto
builds will fail.
Your pch approach is convenient, fast, but error-prone. When I tried
(and failed) to a
Peter Kümmel wrote:
Bennett Helm wrote:
Maybe this is the reason:
Ah!!! Thanks for the explanation.
Abdel.
Bennett Helm wrote:
g++-dp-4.2 -DHAVE_CONFIG_H -I. -I. -I../../../src -DQT_CLEAN_NAMESPACE
-DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../src
-I../../../src/frontends -I../../../images
-I/Users/bennett/lyx/gcc-4.0/Qt-4.2.1-install/include
-I/Users/bennett/lyx/gcc-4.0/Qt-4.2.1-install
Bennett Helm wrote:
> g++-dp-4.2 -DHAVE_CONFIG_H -I. -I. -I../../../src -DQT_CLEAN_NAMESPACE
> -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../src
> -I../../../src/frontends -I../../../images
> -I/Users/bennett/lyx/gcc-4.0/Qt-4.2.1-install/include
> -I/Users/bennett/lyx/gcc-4.0/Qt-4.2.1-in
g++-dp-4.2 -DHAVE_CONFIG_H -I. -I. -I../../../src -
DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -
I../../../src -I../../../src/frontends -I../../../images -I/Users/
bennett/lyx/gcc-4.0/Qt-4.2.1-install/include -I/Users/bennett/lyx/
gcc-4.0/Qt-4.2.1-install/include/QtCore -