delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/07/15:34:11

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: g++, opengl, and STDCALL, * __attribute__ ((stdcall)) problem.
7 Jan 1998 15:34:11 -0800 :
Message-ID: <Pine.HPP.3.96.980107123804.17711C-100000.cygnus.gnu-win32@hp2.xraylith.wisc.edu>
References: <01bcfe01$09ed4ba0$fa173185 AT gbird0 DOT fu DOT is DOT saga-u DOT ac DOT jp>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

On Mon, 1 Dec 1997, Colin Peters wrote:
> I think if you move APIENTRY to the *end* of the function prototype then
> it will work with g++ (and gcc), but, of course, it will stop working with
> other compilers I suspect. If you are just using gcc and g++ then no
> problem, otherwise make separate copies of those headers for gcc/g++.
> 
> WINGDIAP const GLubyte * glGetString( GLenum name) APIENTRY;
> 
> Looks strange, but I think it will work.
> 
> This is, I think, a bug in the C++ parser, and I have no idea if/when it
> will be fixed.
> 

I have a preliminary fix for this, but haven't tested it well enough to 
release it. The next release should have it however.

If anybody's willing to beta test it, let me know.

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