still getting errors linking opengl
David Medlock
noone at nowhere.com
Wed Dec 5 18:32:12 PST 2007
Daniel Keep wrote:
>
> David Medlock wrote:
>> ...
>> Since the glfw header starts with:
>>
>> version( Win32 ) extern(Windows):
>>
>> Shouldn't those errors be C-mangled names and not D ones?
>>
>> Any pointers? Walter?
>>
>> -David
>
> No; that was a bug in the compiler that got fixed after that version.
> The "extern(Windows)" only takes effect to the end of the version block.
> If you want to use extern(Windows) on windows and extern(C) on
> everything else, replace:
>
> version( Win32 ) extern(Windows): else extern(C):
>
> With:
>
> extern(System):
>
> -- Daniel
Thanks for the heads up on that Daniel.
I posted a message in the glfw forums on sourceforge.
-David
More information about the Digitalmars-d
mailing list