hello,

i've tried building crystal space  and ran into a snag with
"-Wno-long-double". i'm using ubuntu 8.04 beta and the svn is revision
29256. i ran the configure script with...

./configure --without-python --without-java --without-lib3ds
--without-libaws
--with-libcal3d=/home/me/software/planeshift/planeshift_svn/cal3d/cal3d

...then built it with...

jam -aq libs plugins cs-config walktest

...and i got these error messages...

C++ ./out/linuxx86/optimize/libs/cstool/procmesh.o
C++ ./out/linuxx86/optimize/libs/cstool/primitives.o
C++ ./out/linuxx86/optimize/libs/cstool/bitmasktostr.o
C++ ./out/linuxx86/optimize/libs/cstool/smartfileopen.o
libs/cstool/smartfileopen.cpp:83: warning: 'bool IsVfsDir(iVFS*, const
char*)' defined but not used
cc1plus: error: unrecognised command line option "-Wno-long-double"

    g++ -c -o ./out/linuxx86/optimize/libs/cstool/smartfileopen.o -I.
-I./include -I./include -pipe -Wall -Wno-unknown-pragmas -fvisibility=hidden
-march=i586 -mtune=generic -I/usr/local/include -Wno-long-double
-fno-exceptions -fvisibility-inlines-hidden -O3 -fomit-frame-pointer
-ffast-math -g2 -fPIC -DCS_CRYSTALSPACE_LIB -Ilibs/csutil/ptmalloc
-Ilibs/csutil/ptmalloc/sysdeps/pthread
-DCS_CONFIGDIR='"/usr/local/etc/crystalspace-1.2"'
-DCS_PLUGINDIR='"/usr/local/lib/crystalspace-1.2"'
libs/cstool/smartfileopen.cpp

...failed C++ ./out/linuxx86/optimize/libs/cstool/smartfileopen.o ...
...skipped libcrystalspace-1.2.a for lack of
libcrystalspace-1.2.a(smartfileopen.o)...
...failed updating 1 target(s)...
...skipped 1 target(s)...
...updated 186 target(s)...
Copy cs-config
...updated 1 target(s)...
...skipped walktest for lack of libcrystalspace-1.2.a...
...skipped 1 target(s)...

...after asking some advice on #crystalspace (thanks thebolt and recon69) i
edited my Jamconfig and removed this line...

COMPILER.CFLAGS += "-Wno-unknown-pragmas" ;

...after which crystal space compiled without any errors. anyone know what
is causing this line to be added to Jamconfig?

thanks.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to