Required to link windows header modules (?)

Bruno Medeiros brunodomedeirosATgmail at SPAM.com
Sun Jun 11 12:33:57 PDT 2006


Sean Kelly wrote:
> Derek Parnell wrote:
>> 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.
> 
> Yup.  This is what I've been doing.
> 
> 
> Sean

Then what you meant about Build "isn't able to detect if a module is a 
"header" module" ?


-- 
Bruno Medeiros - CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d-bugs mailing list