|
[ ghc-Bugs-1185509 ] HOpenGL uses wrong calling convention for GLU callback: msg#00107lang.haskell.glasgow.bugs
Bugs item #1185509, was opened at 2005-04-19 01:15 Message generated for change (Comment added) made by spanne You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1185509&group_id=8032 Category: libraries (other) Group: 6.4 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: HOpenGL uses wrong calling convention for GLU callbacks Initial Comment: on windows (seen on 98&xp), the red book examples Tess and TessWind (from GLUT/examples/RedBook/) crash with a segv. Fix (tested on win xp only): in OpenGL/Graphics/Rendering/OpenGL/GLU/Tesselation.h s, change ccall to CALLCONV (which will be stdcall in this case) for all foreign import "wrapper" callback generators. http://www.haskell.org//pipermail/hopengl/2005- April/000610.html claus.reinke@xxxxxxxxxx ---------------------------------------------------------------------- >Comment By: Sven Panne (spanne) Date: 2005-04-24 23:16 Message: Logged In: YES user_id=50298 There seems to be a discrepancy between the GLU header shipped with X11 and with MinGW regarding this aspect, but applying the proposed change seems to be safe because only WinDoze will be affected. Quadrics and NURBS have a similar issue, BTW. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1185509&group_id=8032
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-1188785 ] panic! ... forkM Declaration for tables{v}, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-485184 ] Manual title pages on the wrong side, SourceForge.net |
| Previous by Thread: | [ ghc-Bugs-1185509 ] HOpenGL uses wrong calling convention for GLU callbacks, SourceForge.net |
| Next by Thread: | Re: environment variables for ghc, Frederik Eaton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |