Hi again!

Another step ahead; using only ENVLINKFLAGS and not ENVLIBFLAGS, I
avoided the ar problem.

I'm trying to build against the external boost libraries and see:

Compiling: svl/source/numbers/zforfind.cxx
g++  -fmessage-length=0 -c -O1 -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 
 -fexceptions -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/X11R7/include 
-I. -I../../unxbsdx3.pro/inc/numbers -I../inc -I../../inc/pch -I../../inc 
-I../../unx/inc -I../../unxbsdx3.pro/inc -I. 
-I/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/solver/330/unxbsdx3.pro/inc/stl
 
-I/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/solver/330/unxbsdx3.pro/inc/external
 
-I/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/solver/330/unxbsdx3.pro/inc
 -I/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/solenv/unxbsdx3/inc 
-I/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/solenv/inc 
-I/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/res 
-I/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/solver/330/unxbsdx3.pro/inc/stl
 -I/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/solenv/inc/Xp31 
-I/usr/pkg/java/openjdk7/include -I/usr/pkg/java/openjdk7/include/netbsd -I/us
 r/pkg/java/openjdk7/include/native_threads/include -I/usr/X11R7/include  
-I/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/solver/330/unxbsdx3.pro/inc/offuh
 -I. -I../../res -I. -pipe   -Wno-ctor-dtor-privacy -fexceptions 
-I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/X11R7/include  -fpic -DNETBSD 
-DUNX -DVCL -DGCC -DC341 -DX86_64 -DX86_64 -pthread -D_PTHREADS -D_REENTRANT 
-DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450 -D__DMAKE -DUNIX 
-DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/g++ -DSUPD=330 -DPRODUCT 
-DNDEBUG -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DCUI -DSOLAR_JAVA   
-DSVL_DLLIMPLEMENTATION -DSHAREDLIB -D_DLL_   -fno-exceptions -DEXCEPTIONS_OFF  
-o ../../unxbsdx3.pro/slo/zforfind.o 
/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/svl/source/numbers/zforfind.cxx
/usr/pkg/include/boost/throw_exception.hpp: In function 'void 
boost::throw_exception(const E&) [with E = boost::bad_weak_ptr]':
/usr/pkg/include/boost/smart_ptr/detail/shared_count.hpp:421:   instantiated 
from here
/usr/pkg/include/boost/throw_exception.hpp:61: error: exception handling 
disabled, use -fexceptions to enable
dmake:  Error code 1, while making '../../unxbsdx3.pro/slo/zforfind.obj'

As you can see, I already added "-fexceptions" to the g++ arguments.

Does this mean I have to recompile the boost libraries with -fexceptions?

Thanks,
 Thomas
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to