version and extern problems

Chris Miller chris at dprogramming.com
Tue Jul 10 14:42:17 PDT 2007


On Tue, 10 Jul 2007 16:55:47 -0400, BCS <ao at pathlink.com> wrote:

> Reply to Jarrett,
>
>> "Walter Bright" <newshound1 at digitalmars.com> wrote in message
>> news:f70mvo$22e7$1 at digitalmars.com...
>>
>>> It's the old chicken-and-egg problem of forward references.
>>>
>> Mind elaborating?  I can't see how this is a forward reference issue.
>>
>
> extern(A) const char[] A = "foo";
>
> but as long as you don't worry about symbol names untill you are making  
> .o files that isn't a problem (I would think).

I think problems like that exist all over the place; just don't do it.

int foo = foo.init;


I would like to know what Walter is referring to too.



More information about the Digitalmars-d mailing list