[BLFS Trac] #2927: Freeglut fails to compile

BLFS Trac trac at linuxfromscratch.org
Thu Jul 30 04:30:15 PDT 2009


#2927: Freeglut fails to compile
----------------------+-----------------------------------------------------
 Reporter:  gdalziel  |       Owner:  blfs-book@…                   
     Type:  task      |      Status:  new                           
 Priority:  normal    |   Milestone:  6.5                           
Component:  BOOK      |     Version:  SVN                           
 Severity:  normal    |    Keywords:                                
----------------------+-----------------------------------------------------
 Freeglut 2.4.0 fails to compile on LFS 6.5. The problem lies in the fact
 that Freeglut uses -pedantic, and this causes GCC 4.4.x to complain about
 the non-C90 use of 'long long' in Xmd.h from Xorg. We can bypass it at
 configure time with the use of --disable-warnings. However, if Freeglut
 used -pedantic then they clearly intended for this issue to be addressed.
 Either a patch or a bypass is in order.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2927>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list