Bug 179649 - games-fps/quake3-1.34_rc3 fails on gcc-4.2
|
Bug#:
179649
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: sefi@s-e-f-i.de
|
|
Component: GCC Porting
|
|
|
URL:
|
|
Summary: games-fps/quake3-1.34_rc3 fails on gcc-4.2
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-05-24 14:56 0000
|
The file code/tools/asm/cmdlib.c contains two expressions that always evaluate
to true because it compares an array against true (which actually converts the
array into a pointer to the first element) which must not be zero. Because
-Werror is set and gcc-4.2 has stricter warnings the build fails.
I will attach a small patch to fix it.
Reproducible: Always
Steps to Reproduce:
1. switch to gcc-4.2
2. emerge quake3
I think it should be changed to do what was intended instead of removing it
entirely.
I completely agree. Also, upstream is very responsive with regards to bugs
such as this, so any patches we apply will very likely be accepted upstream
easily.
i'd just say drop the -Werror from the build ... that only causes trouble
also, upstream has already accepted a bug fix from nyhm for this which ive
added