Now that -Wl is passed to g++ (shouldn't it be -Wall by the way?) I have
an awful lot of warnings. As I don't want Marchall Lastgouttes to catch
me on that, here is my first report :-), Most of them are:
d:/mingw/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/bits/stl_uninitialized
.h:82: warning: '__cur' might be used uninitialized in this function
idea?
Abdel.
Abdelrazak Younes a écrit :
Abdelrazak Younes a écrit :
Jean-Marc Lasgouttes a écrit :
"Abdelrazak" == Abdelrazak Younes
<[EMAIL PROTECTED]> writes:
Abdelrazak> Angus Leeming a écrit :
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
export CXXFLAGS="-Os -Id:/program/Aspell-0.60.4/include"
Replace with CPPFLAGS and you should be all set.
Abdelrazak> Apparently not, at least not in my system. I have the same
Abdelrazak> errors as if don't set CXXFLAGS:
Try CXXCPPFLAGS.
The same...
But using --enable-optimization=-O3 instead of --enable-optimization=3
and without setting any variable (neither CXXFLAGS nor CPPFLAGS) seems
to give the correct config:
Configuration
Host type: i686-pc-cygwin
Special build flags: assertions warnings
C Compiler: gcc
C Compiler LyX flags:
C Compiler flags: -Wextra -Wall
-I/cygdrive/d/program/Aspell-0.60.4/incl
ude -O3
C++ Compiler: g++ (3.4.4)
C++ Compiler LyX flags:
C++ Compiler flags: -Wextra -Wall
-I/cygdrive/d/program/Aspell-0.60.4/incl
ude -O3
Linker flags:
Linker user flags: -L/cygdrive/d/program/Aspell-0.60.4/lib
-Wl,--export-al
l-symbols
Qt 4 Frontend:
Qt 4 version: 4.1.1
Packaging: windows
LyX binary dir: d:/program/lyx-svn/bin
LyX files dir: d:/program/lyx-svn/Resources