Including Boost 1.48.0 "qi.hpp" header file

Hi All, This post is regarding the issue we saw on IBM compiler using BOOST 1.48 version. Here is the sample code where we are trying to just include the header file "boost/spirit/include/qi.hpp>". *********************************Example Code************************************* #include <iostream> #include <boost/spirit/include/qi.hpp> main() { using namespace std; std::cout<<"test"<<"\n"; } *********************************END************************************************** When we compile this code on IBM with the compiler* : IBM XL C/C++ for AIX, V11.1 (5724-X13) Version: 11.01.0000.0000 *we end up with below error: xlC -I /usr/include/boost/1_48_0 -o dump test_prog.cpp - *xlC: 1501-230 (S) Internal compiler error; please contact your Service Representative. For more information visit:* - *http://www.ibm.com/support/docview.wss?uid=swg21110810* But this code works absolutely fine on g++ Linux. Looks like the inclusion of this header file on IBM platform is causing the issue. Is this is a known bug ?Is any patch available ? Thanks, Abc

On 4/9/2012 10:28 PM, devika R S wrote:
Hi All,
This post is regarding the issue we saw on IBM compiler using BOOST 1.48 version. Here is the sample code where we are trying to just include the header file "boost/spirit/include/qi.hpp>".
The tests results show a host of problems on IBM's compiler: http://beta.boost.org/development/tests/trunk/developer/spirit-test.html Sadly, the IBM compiler is known to have serious conformance issues. Basically, it's just too broken to support advanced template libraries like Spirit. You can try reporting the issue to IBM. Sorry I don't have a better suggestion. -- Eric Niebler BoostPro Computing http://www.boostpro.com
participants (2)
-
devika R S
-
Eric Niebler