Boost logo

Boost Users :

Subject: [Boost-users] Including Boost 1.48.0 "qi.hpp" header file
From: devika R S (devika.rs_at_[hidden])
Date: 2012-04-10 01:28:51


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



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