Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Date: Wed, 5 Jul 2000 21:40:53 -0400 Message-Id: <200007060140.VAA24325@envy.delorie.com> From: DJ Delorie To: mdejong AT cygnus DOT com CC: cygwin-developers AT sourceware DOT cygnus DOT com In-reply-to: (message from Mo DeJong on Wed, 5 Jul 2000 18:37:22 -0700 (PDT)) Subject: Re: Cygwin compiler problem. References: > 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.