Boost logo

Boost Users :

Subject: Re: [Boost-users] problems in compiling application using IBM XL C/C++ V12.1 and boost1.50.0
From: Lars Viklund (zao_at_[hidden])
Date: 2012-08-29 04:01:02


On Wed, Aug 29, 2012 at 12:51:09PM +0530, Pravar wrote:
> Hi All,
>
> I am getting compilation errors when I try to build my application code
> which includes some boost headers using IBM XL C/C++ compiler V12.1.
[snip]
>
> These errors seems come due to the fact that this version of compiler is
> claimed to have more standard conformance than its predecessors.
> I confirmed from boost release notes of boost 1.50.0 that V12. of XL
> C/C++ supports this boost version. But still I encountered above errors.
>
> Should I use an older version of XL C/C++ compiler so that such errors
> can be avoided ?
> Does anybody encountered similar issues ?

brezhnev:~> cat date_time.cc
#include <boost/date_time.hpp>
int main() {}

brezhnev:~> xlC_r -c date_time.cc -Iboost_1_50_0
brezhnev:~> xlC_r -c date_time.cc -Iboost_1_50_0 -qlanglvl=extended0x
brezhnev:~> xlC_r -qversion
IBM XL C/C++ for AIX, V12.1 (5765-J02, 5725-C72)
Version: 12.01.0000.0000

Do you have a standalone testcase that reproduces this problem, and what
exact version of the compiler do you run?

-- 
Lars Viklund | zao_at_[hidden]

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