delorie.com/archives/browse.cgi | search |
> 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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |