From: jeffdbREMOVETHIS@netzone.com (Mikey)
Subject: Re: what the heck is wrong witht his picture?
28 Sep 1997 09:22:32 -0700
Message-ID: <342e7898.51495234.cygnus.gnu-win32@smtp.netzone.com>
References: <3.0.3.32.19970928090915.006de0a8@mail.mindspring.com>
Reply-To: jeffdbREMOVETHIS@netzone.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Derek Greene <topcoder@mindspring.com>, gnu-win32@cygnus.com

STDMETHOD either evaluates either to nothing ie.

#define STDMETHOD
or 
#define STDMETHOD __attribute__((__stdcall__))
or
#define STDMETHOD __attribute__((__cdecl__))

you can only use __attribute__((whatever)) before the function name or just before the ;
__stdcall and __cdecl are not keywords in gcc C/C++ like they are in VC++
see the gcc.info file for more

this void ( __stdcall * my_func)(int);
will produce an error change it to
void __stdcall (* my_func)(int)

try gcc -save-temps
and look at the .i file
On Sun, 28 Sep 1997 09:09:15 -0400, you wrote:

>I am getting this error:
>
>C:\gnuwin32\inc/d3d.h:723: syntax error before `*'
>
>On this line of code:
>
>STDMETHOD(SetViewport2) (THIS_ LPD3DVIEWPORT2) PURE;
>
>can someone tell me what the deal is?
>-
>For help on using this list (especially unsubscribing), send a message to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>

(jeffdbREMOVETHIS@netzone.com)
delete REMOVETHIS from the above to reply
         Mikey
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
