#2927 closed task (fixed)
Freeglut fails to compile
| Reported by: | Guy Dalziel | Owned by: | DJ Lucas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | BOOK | Version: | SVN |
| Severity: | medium | 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 , 17 years ago
comment:2 by , 17 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 , 17 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:4 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
I actually changed my mind and chose to go with the sed so that we could see the warnings.
Fixed in r8043.

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.