Boost logo

Boost :

From: Matthias Troyer (troyer_at_[hidden])
Date: 2006-05-22 10:51:16


On May 22, 2006, at 8:17 AM, Joaquín Mª López Muñoz wrote:

>
>
> David Abrahams ha escrito:
>
>> David Abrahams <dave_at_[hidden]> writes:
>>
>>> Not to mention quite a few vc6-bug-specific problems (just about
>>> every
>>> test fails with this error):
>>>
>>> test_exported.cpp
>>> ..\..\..\boost/serialization/array.hpp(69) : error C2265:
>>> '<Unknown>' : reference to a zero-sized array is illegal
>>
>> This one *was* there before I came to the code, AFAICT, though.
>>
>> vc6 gives the same error for this:
>>
>> template <class T, int N>
>> void f(T (&)[N])
>> {
>> }
>>
>> Please confirm that this stuff never worked with vc6.
>
> This problem first appeared when Mattias Troyer merged his
> work on the branch fast_array_serialization to the trunk, on Apr 30th,
> and it's causing every (or nearly every) file which includes some of
> Boost.Serialization to crash under MSVC 6.5. I guess the solution
> is to #ifdef the stuff out for this compiler, but I don't know if this
> could have unforeseen implications (my hunch is it won't, though, but
> Mattias us surely in a better position to assess this.)

I know a workaround and will implement it tomorrow.

Matthias


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