Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2007-06-07 04:43:13


dx wrote:
> John Maddock wrote:
>
>> That indicates a problem with Boost.MPL and that compiler. Are you
>> using an up to date version of xlc because I believe Boost.Regex
>> does/should build fine with that compiler.
>>
>>
>>
> John,
>
> 1) xlC -qversion returns the following:
> IBM XL C/C++ Enterprise Edition V7.0
> Version: 07.00.0000.0005

I'm not familiar with AIX so I can't tell if that's up to date or not.

> 2) As mentioned previously, I have done nothing special to the
> makefile for regex,
> other than pointing to xlC for the compiler. (and xlC/ as the target
> output dir)
>
> It is possible I need to make major modifications to the makefile to
> get this to work.

No, it should just work: BTW the regex lib is "just a bunch of sources", so
you could equally just add the sources to your IDE or whatever if you have
one.

> I am not an expert user of xlC, and just recently attempted to use it
> with Boost.
>
> 3) If someone has actually gone through the process, and can provide
> me the information ,
> of modifying the generic makefiles to use with xlC on AIX, and
> building Boost.regex successfully,
> then that is what I'm really looking for.
>
> I still haven't heard that anyone has actually compiled Boost.Regex
> with xlC on AIX.

I know that the IBM compiler team regularly build/test boost with their
compiler releases, so this all should just plain work. That's what made me
wonder if you were using an older compiler version: the error message you
were seeing is due to the compiler choking on Boost.MPL, which Regex depends
on. Are there any std comformity compiler flags you can turn on?

John.


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