[odb-users] internal compiler error in pointer-traits.hxx

astek.rbasset astek.rbasset at tisseo.fr
Mon Dec 2 06:09:51 EST 2013


Hello,

  I'm trying to build my first ODB project on Windows XP with MinGW
*.hpp sources DO compile on linux platform, but Windows compilation gets an internal compiler error :

8< ------------------------------------- >8
D:\users\<Project>\src>odb -d sqlite -p boost -I D:\users\<Project>\includes -I D:\boost_1_55_0 --default-pointer boost::shared_ptr -o odb_obj_headers -q -s -e odb_obj_headers/*.hpp
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_START_UNIT                | odb
PLUGIN_PRAGMAS                   | odb
PLUGIN_OVERRIDE_GATE             | odb
In file included from <standard-odb-epilogue>:8:0:
D:\users\<Project>\includes/odb/tr1/pointer-traits.hxx: In destructor 'virtual boost::exception_detail::clone_base::~clone_base()':
D:\users\<Project>\includes/odb/tr1/pointer-traits.hxx:116:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://www.codesynthesis.com/products/odb/> for instructions.
8< ------------------------------------- >8

Note that I had to add boost complete library in include path (D:\boost_1_55_0) because of this previous error :

8< ------------------------------------- >8
D:\users\<Project>\src>odb -d sqlite -p boost --default-pointer boost::shared_ptr -o odb_obj_headers -q -s -e odb_obj_headers/*.hpp
In file included from <odb-prologue-1>:1:0:
d:\odb\odb-2.3.0-i686-windows\mingw\bin\../../mingw/include/odb/boost/date-time/sqlite/gregorian-mapping.hxx:8:57: fatal error: boost/date_time/gregorian/gregorian_types.hpp: No such file or directory
compilation terminated.
8< ------------------------------------- >8

ODB : 2.3.0
BOOST : 1.55
MinGW : latest form http://sourceforge.net/projects/mingw/

Any help is welcome !

Rodolphe



More information about the odb-users mailing list