delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/06/10/05:47:37

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: <Pine.SUN.3.93.980609220544.27400A-100000.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <3 DOT 0 DOT 1 DOT 32 DOT 19980609120034 DOT 00922480 AT mailhost DOT cndp DOT fr>
Mime-Version: 1.0
To: Serge Torres <serge DOT torres AT poste DOT cndp DOT fr>
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".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019