Required to link windows header modules (?)
Derek Parnell
derek at psych.ward
Sun Jun 11 10:51:34 PDT 2006
On Mon, 12 Jun 2006 00:31:42 +1000, Bruno Medeiros
<brunodomedeirosATgmail at SPAM.com> wrote:
> Sean Kelly wrote:
>> This would actually address a problem I noticed with Build in that it
>> isn't able to detect if a module is a "header" module and will compile
>> and link the code in anyway, which produces "previous definition
>> different" errors at link time.
>> Sean
>
> Hum, Have you used build exclusions (option -X) in order not to compile
> and link a module?
>
I think that the best option for now is to use
version(build) pragma(nolink);
This will ensure that the file containing this pragma is not compiled or
linked.
--
Derek Parnell
Melbourne, Australia
More information about the Digitalmars-d-bugs
mailing list