LDC collisions of libs -oq option (Referencing global in another module!)

Smoke Adams via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Mon Jun 27 09:52:01 PDT 2016


On Monday, 27 June 2016 at 16:42:39 UTC, David Nadlinger wrote:
> On 27 Jun 2016, at 17:38, Smoke Adams via digitalmars-d-ldc 
> wrote:
>> ldc says to look at the -oq option. Google can't find the -oq 
>> option.
>
> $ ldc2 -help | fgrep oq
>   -oq                                       - Write object 
> files with fully qualified names
>
>> Works find in DMD. All the files are in different directories.
>
> There are several points to be considered/possible explanations 
> here. Could you please post an example command line to make 
> sure we are both talking about the same situation?
>
>  — David

-oq seemed to fix the problem

but now I get an linker error and VD range violation crash.

Referencing global in another module!

Of course I have no idea what global or what module all this is 
happening in ;/ Works fine in DMD.






More information about the digitalmars-d-ldc mailing list