Boost logo

Boost :

From: Jason Shirk (jasonsh_at_[hidden])
Date: 2002-02-19 01:13:57


> -----Original Message-----
> From: Beman Dawes [mailto:bdawes_at_[hidden]]
>
> At 01:53 PM 2/18/2002, bill_kempf wrote:
>
> >> Can you put a specific check into the threadmod code to give an
> >#error if
> >> it isn't being compiled as a DLL? Only to apply to appropriate
> >compilers,
> >> of course. Would save a lot of grief, I'd expect.
> >
> >I'm not sure if there is a way to do this. If there is I'd love to
> >hear about it.
>
> Hum... I was thinking that _DLL did it. But that specifies the
runtime
> library used, not what the target is.
>
> Jason? Any ideas?
>

Sorry, there isn't a way to do that. The only define /LD adds is _MT,
and that's used w/ /MT and /MD, so it doesn't help.

Jason Shirk
VC++ Compiler Team


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