Boost logo

Boost Users :

Subject: Re: [Boost-users] can't build threads on msvc-7.1
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-01-16 12:14:21


AMDG

Larry E. Ramey wrote:
> It seems you are correct. Does it strike anyone else that this is a
> REALLY REALLY bad design?

Not a bad design--just a bug.

> Boost 1.35 used to make just fine if you changed user.hpp. We use only
> dlls here. I NEVER want a static lib, since threads shouldn't build
> static lib, why is this define effecting the thread build?

The problem comes from code like this in DateTime:

class __declspec(dllimport) C {
public:
    void f() {}
};

Calling f may result in a linker error even though it is defined
inline.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net