First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 179649
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Philipp <sefi@s-e-f-i.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
quake3-gcc-4.2.patch Patch to fix the bug. patch Philipp 2007-05-24 14:57 0000 846 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 179649 depends on: Show dependency tree
Show dependency graph
Bug 179649 blocks: 162167
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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

------- Comment #1 From Philipp 2007-05-24 14:57:11 0000 -------
Created an attachment (id=120194) [edit]
Patch to fix the bug.

------- Comment #2 From Tristan Heaven 2007-06-08 13:20:28 0000 -------
I think it should be changed to do what was intended instead of removing it
entirely.

------- Comment #3 From Chris Gianelloni 2007-06-20 01:32:11 0000 -------
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.

------- Comment #4 From SpanKY 2007-06-22 02:06:41 0000 -------
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

First Last Prev Next    No search results available      Search page      Enter new bug