delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/07/07:20:13

From: khan AT xraylith DOT wisc DOT 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 DOT 764B4B5F AT tpu DOT org>
Mime-Version: 1.0
To: Adam Chlipala <psion AT tpu DOT org>
Cc: gnu-win32 AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


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