Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-02-19 12:36:51


At 11:29 AM 2/19/2002, bill_kempf wrote:

>> Might be worth a new predefined macro. _DLL_TARGET or similar.
>>
>> Anything a compiler implementor can do that allows better error
>detection
>> is a win for users, and cuts support costs too.
>
>The only problem is that, as someone else pointed out, this is a
>linker concept not a compiler concept. I'm not sure the compiler
>can determine that the target will be a DLL.

At least when using the IDE, the distinction seems somewhat artificial. The
IDE knows, so can pass the information on to whichever component needs it.

Likewise, building with Jam there is knowledge at a higher level of what
the target is, so information could be passed to a compiler.

--Beman


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