#150 Build error on openSUSE (latest svn trunk)

closed-fixed
nobody
critical (31)
5
2011-09-05
2011-07-15
No

Open Build Service reports:

E: freeglut 64bit-portability-issue freeglut_window.c:1137

which is caused by:

freeglut_window.c: In function 'fghWindowIsVisible':
freeglut_window.c:916:21: warning: initialization makes integer from pointer without a cast
freeglut_window.c: In function 'fgOpenWindow':
freeglut_window.c:1137:9: warning: passing argument 4 of 'XPeekIfEvent' makes pointer from integer without a cast
/usr/include/X11/Xlib.h:2877:12: note: expected 'XPointer' but argument is of type 'SFG_WindowHandleType'
freeglut_window.c:984:5: warning: 'visualInfo' may be used uninitialized in this function

Discussion

  • Diederick C. Niehorster

    Am i right to understand that this is this a 64-bit compatibility issue? FreeGLUT hasn't been tested other than for 32 bit, so things like this might happen. However, if you can see how to patch things up, we'd be very interested in your work of course!

     
  • John F. Fay

    John F. Fay - 2011-09-05
    • status: open --> closed-fixed
     
  • John F. Fay

    John F. Fay - 2011-09-05

    Should be fixed in change set 937. Please check that it has been done correctly.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks