Cygwin compiler problem.

DJ Delorie dj@delorie.com
Wed Jul 5 18:40:00 GMT 2000


> DeviceDriver DD = {
>     "Canvas",
>     GetDrawable

THe problem is that importing *data* tells the compiler to change a
reference to the data into a dereference of a pointer to the data
(it's the pointer you import, not the address itself).  Since the
address the pointer points to cannot be known at compile time, the
compiler cannot store that pointer in the statically initialized
structure DD.


More information about the Cygwin-developers mailing list