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
Created attachment 120194 [details, diff] Patch to fix the bug.
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