|
Boost Users : |
Subject: [Boost-users] Compile error with QNX compiler
From: Kito Berg-Taylor (kito.berg-taylor_at_[hidden])
Date: 2009-03-04 10:39:01
I am using the QNX 6.4.0 development environment (based on gcc 4.2.4) to
compile boost_thread-static-mt from boost 1.38, and I am getting the
following errors. I was wondering if someone could tell me whether this
is a compiler problem or a problem with boost. I should mention that I
don't get the same error with gcc4 or mingw-gcc4. I have the latest
boost from svn, but I'm unable to test that on this compiler because I'm
still sorting through other build problems there.
cd /path_to_build/build.qnx/Core/LIB_MISSIONPLANNER
&& /path_to_qnx/qnx640/host/linux/x86/usr/bin/qcc -Vgcc_ntox86
-lang-c++ -w1 -I/path_to_build/Externals/boost_1_38_0 -o
CMakeFiles/MISSIONPLANNER.dir/CommTCP.cpp.obj
-c /path_to_build/Core/LIB_MISSIONPLANNER/CommTCP.cpp
In file included
from /path_to_build/Externals/boost_1_38_0/boost/serialization/extended_type_info_typeid.hpp:33,
from /path_to_build/Externals/boost_1_38_0/boost/archive/detail/iserializer.hpp:64,
from /path_to_build/Externals/boost_1_38_0/boost/archive/detail/interface_iarchive.hpp:23,
from /path_to_build/Externals/boost_1_38_0/boost/archive/detail/common_iarchive.hpp:20,
from /path_to_build/Externals/boost_1_38_0/boost/archive/basic_text_iarchive.hpp:31,
from /path_to_build/Externals/boost_1_38_0/boost/archive/text_iarchive.hpp:23,
from /path_to_build/Core/LIB_MISSIONPLANNER/Connection.hpp:19,
from /path_to_build/Core/LIB_MISSIONPLANNER/CommTCP.hpp:6,
from /path_to_build/Core/LIB_MISSIONPLANNER/CommTCP.cpp:1:
/path_to_build/Externals/boost_1_38_0/boost/serialization/factory.hpp:37: error: template declaration of 'T* boost::serialization::factory'
/path_to_build/Externals/boost_1_38_0/boost/serialization/factory.hpp:37: error: 'va_list' is not a member of 'std'
In file included
from /path_to_build/Externals/boost_1_38_0/boost/archive/detail/iserializer.hpp:64,
from /path_to_build/Externals/boost_1_38_0/boost/archive/detail/interface_iarchive.hpp:23,
from /path_to_build/Externals/boost_1_38_0/boost/archive/detail/common_iarchive.hpp:20,
from /path_to_build/Externals/boost_1_38_0/boost/archive/basic_text_iarchive.hpp:31,
from /path_to_build/Externals/boost_1_38_0/boost/archive/text_iarchive.hpp:23,
from /path_to_build/Core/LIB_MISSIONPLANNER/Connection.hpp:19,
from /path_to_build/Core/LIB_MISSIONPLANNER/CommTCP.hpp:6,
from /path_to_build/Core/LIB_MISSIONPLANNER/CommTCP.cpp:1:
/path_to_build/Externals/boost_1_38_0/boost/serialization/extended_type_info_typeid.hpp: In member function 'void* boost::serialization::extended_type_info_typeid<T>::construct(unsigned int, ...) const':
/path_to_build/Externals/boost_1_38_0/boost/serialization/extended_type_info_typeid.hpp:96: error: 'va_list' is not a member of 'std'
/path_to_build/Externals/boost_1_38_0/boost/serialization/extended_type_info_typeid.hpp:96: error: expected `;' before 'ap'
/path_to_build/Externals/boost_1_38_0/boost/serialization/extended_type_info_typeid.hpp:97: error: 'ap' was not declared in this scope
/path_to_build/Externals/boost_1_38_0/boost/serialization/extended_type_info_typeid.hpp:100: error: 'factory' was not declared in this scope
/path_to_build/Externals/boost_1_38_0/boost/serialization/extended_type_info_typeid.hpp:100: error: expected primary-expression before ',' token
/path_to_build/Externals/boost_1_38_0/boost/serialization/extended_type_info_typeid.hpp:102: error: expected primary-expression before ',' token
/path_to_build/Externals/boost_1_38_0/boost/serialization/extended_type_info_typeid.hpp:104: error: expected primary-expression before ',' token
/path_to_build/Externals/boost_1_38_0/boost/serialization/extended_type_info_typeid.hpp:106: error: expected primary-expression before ',' token
/path_to_build/Externals/boost_1_38_0/boost/serialization/extended_type_info_typeid.hpp:108: error: expected primary-expression before ',' token
cc: /path_to_qnx/qnx640/host/linux/x86/usr/lib/gcc/i386-pc-nto-qnx6.4.0/4.2.4/cc1plus error 1
compiler identifies itself as gcc 4.2.4:
kito_at_Vostok:~$ ntox86-g++ --version
ntox86-g++ (GCC) 4.2.4
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net