From: khan@xraylith.wisc.edu (Mumit Khan)
Subject: Re: B19: Symify-type core dump stack explainer?
7 Oct 1998 07:20:13 -0700
Message-ID: <Pine.SUN.3.93.981006091648.954B-100000.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <3619603D.764B4B5F@tpu.org>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To: Adam Chlipala <psion@tpu.org>
Cc: gnu-win32@cygnus.com

On Mon, 5 Oct 1998, Adam Chlipala wrote:

> problem is.  On a side note, I had to modify the GL and GLUT header
> files to remove all APIENTRY's.. could this be the cause?  Seems
> unlikely.

Yes! You're telling the compiler the use the *wrong* calling syntax,
and it's no wonder your code crashes.

My binary release of egcs-1.1 compiles using MS OpenGL headers just 
fine (thanks to changes from Alastair Houghton), so there should be
no need. There is still one minor problem, but hopefully you won't
run into it. If you haven't upgraded your compiler toolchain, see:

  http://www.xraylith.wisc.edu/~khan/software/gnu-win32
  ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin32/egcs-1.1/
  ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/egcs-1.1/

Regards,
Mumit

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
