From: khan AT xraylith DOT wisc DOT edu (Mumit Khan) Subject: Re: Does B19 work with COM or NT5 ??? 10 Jun 1998 05:47:37 -0700 Message-ID: References: <3 DOT 0 DOT 1 DOT 32 DOT 19980609120034 DOT 00922480 AT mailhost DOT cndp DOT fr> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: Serge Torres Cc: gnu-win32 AT cygnus DOT com On Tue, 9 Jun 1998, Serge Torres wrote: > > That leeds me to another question : why gcc is ignoring the __stdcall attribute directive for member functions (even for struct)? That denies any possibility of writting C++ (or even C if you use struct) code for COM servers since all COM functions use the stdcall stack management scheme. > > Is this correct ? It's a known bug (search the mailing list archive for recent reports). Somewhat low on the priority list right now unfortunately. If you can help in fixing it, that'll be great. > > What does the -mrtd flag for gcc in this respect ? > Should work. You'll have be careful however to avoid anything that you *don't* want with _stdcall in the same file. Mumit - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".