Boost logo

Boost :

From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2008-03-28 16:36:00


On Fri, Mar 28, 2008 at 5:31 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> AMDG
>
>
> Felipe Magno de Almeida wrote:
> > Hi,
> >
> > There are linking errors on msvc 7.1 (and probably other compilers)
> > with static.hpp.
> > The structs destructor e default_ctor are defined inside static_ constructors.
> > If I move them to outside the function, they link ok.
> >
>
> Compiler bug. msvc 8.0 suffers from it too.

Locally defined classes have internal linkage? I didn't know.
Can this workaround be applied anyway? Hopefully before 1.35.0?

> In Christ,
> Steven Watanabe

Thanks,

-- 
Felipe Magno de Almeida

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