[zeromq-dev] zeromq-2.0.10 Compilation error on CentOS
Martin Sustrik
sustrik at 250bpm.com
Thu Oct 28 00:09:52 CEST 2010
On 10/28/2010 12:00 AM, Martin Sustrik wrote:
> On 10/27/2010 11:57 PM, Christian Gudrian wrote:
>
>> Am 27.10.2010 um 23:46 schrieb Martin Sustrik:
>>
>>
>>
>>> Any ideas anyone? Is it just a gcc bug or something more fundamental?
>>>
>>>
>> It's an rvalue reference which is quite a new C++ feature (part of C++0x). gcc 4.2.1 doesn't like it either (on Mac OS).
>> If possible change the declaration to a const reference (don't have the code at hand so can't check myself).
>>
>>
> Nah. It's std::vector(), namely the allocator argument. I cannot change
> that :(
>
Actually, it's a second template argument to std::vector... anyway, the
whole problem is somewhere within STL afaics.
Martin
More information about the zeromq-dev
mailing list