tpaviot/oce — Issue #241: clang support broken
Author: tpaviot
Created: 2012-01-23 17:24:31+00:00
State: open

I noticed that current master does not compile with the clang compiler, both on OSX and Ubuntu 11.10:

-- Build files have been written to: /home/thomas/Devel/oce/cmake-build
Scanning dependencies of target TKernel
[ 0%] Building CXX object adm/cmake/TKernel/CMakeFiles/TKernel.dir/__/__/__/drv/StdFail/StdFail_InfiniteSolutions_0.cxx.o
In file included from /home/thomas/Devel/oce/drv/StdFail/StdFail_InfiniteSolutions_0.cxx:6:
In file included from /home/thomas/Devel/oce/inc/StdFail_InfiniteSolutions.hxx:19:
In file included from /home/thomas/Devel/oce/inc/Standard_SStream.hxx:9:
/home/thomas/Devel/oce/inc/Standard_Stream.hxx:33:4: error: #error "check
config.h file or compilation options: either OCE_HAVE_IOSTREAM or
OCE_HAVE_IOSTREAM_H should be defined"
#error "check config.h file or compilation options: either ...
^
In file included from /home/thomas/Devel/oce/drv/StdFail/StdFail_InfiniteSolutions_0.cxx:6:
In file included from /home/thomas/Devel/oce/inc/StdFail_InfiniteSolutions.hxx:19:
/home/thomas/Devel/oce/inc/Standard_SStream.hxx:23:14: fatal error:
'strstream.h' file not found
#include
^
2 errors generated.
make[2]: *** [adm/cmake/TKernel/CMakeFiles/TKernel.dir/__/__/__/drv/StdFail/StdFail_InfiniteSolutions_0.cxx.o] Error 1
make[1]: *** [adm/cmake/TKernel/CMakeFiles/TKernel.dir/all] Error 2
make: *** [all] Error 2