Boost logo

Boost :

Subject: Re: [boost] [config] Does it work with compilers in C mode ?
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-03-24 16:47:48


On 3/24/2011 4:15 PM, Steven Watanabe wrote:
> AMDG
>
> On 03/24/2011 01:03 PM, Edward Diener wrote:
>> On 3/24/2011 12:28 PM, John Maddock wrote:
>>>> Is there any guarantee that the configuration files will work with a C
>>>> compiler or a C++ compiler in C mode ? Is there anything in the
>>>> configuration files which is C++ specific ?
>>>
>>> Almost certainly :-(
>>
>> What in config is C++ specific as opposed to C as far as the actual
>> header file code ?
>>
>
> Checks for the standard library. I seem
> to recall that there's a #include <utility>
> in there somewhere.

It makes sense that if the header files included are for the C++
standard library, a C compiler would fail to have those headers. I will
look at the headers to see what is being used and why.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk