Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Compiler flags

1 view
Skip to first unread message

MeyerK

unread,
Jan 28, 2005, 7:06:38 PM1/28/05
to
This is what Edward Di Geronimo wrote about this years ago in a private chat:

"[...] Eeeddd: (11:15 PM) all your global variables are in dgroup
the C compiler assumes the ds register has the segment of dgroup
so, for the pointer assignment, it's assuming ds has dgroup, and putting the
contents of ds into your pointer but in a library, ds has whatever was in it
before the library got called
i'm trying to remember how to get the compiler to load dgroup in ds when
it enters the function [...]"

What he was trying to remember was using the mentioned -WDE option...

Bye,
MeyerK

0 new messages