Boost logo

Boost :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2006-05-22 02:17:45

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.)

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo

Boost list run by bdawes at, gregod at, cpdaniel at, john at