Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#2927 closed task (fixed)

Freeglut fails to compile

Reported by: Guy Dalziel Owned by: DJ Lucas
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

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.

Change History (5)

comment:1 by DJ Lucas, 15 years ago

I have "sed 's@-Werror@@g' -i configure" in my build script for it. I don't know why the 'g' is there...I doubt it's there multiple times on one line, but that's what is in my scripted build.

comment:2 by DJ Lucas, 15 years ago

Just bypass it with the configure switch. FreeGLUT 2.4 hasn't been touched in over 4 years. 2.6.0-RC1 was released back in April, however.

comment:3 by DJ Lucas, 15 years ago

Owner: changed from blfs-book@… to DJ Lucas
Status: newassigned

comment:4 by DJ Lucas, 15 years ago

Resolution: fixed
Status: assignedclosed

I actually changed my mind and chose to go with the sed so that we could see the warnings.

Fixed in r8043.

comment:5 by (none), 13 years ago

Milestone: 6.5

Milestone 6.5 deleted

Note: See TracTickets for help on using tickets.