[Bug 3755] New: IOQuake3 shouldn't use GCC-specific __FUNCTION__
bugzilla-daemon at icculus.org
bugzilla-daemon at icculus.org
Tue Aug 19 20:22:28 EDT 2008
http://bugzilla.icculus.org/show_bug.cgi?id=3755
Summary: IOQuake3 shouldn't use GCC-specific __FUNCTION__
Product: Quake 3
Version: SVN HEAD
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Platform
AssignedTo: zakk at icculus.org
ReportedBy: baggett.patrick at figglesoftware.com
QAContact: quake3-bugzilla at icculus.org
When building IOQuake3 under IRIX 6.5 with MIPSpro CC 7.4.1, I get errors
related to __FUNCTION__ not being defined. It turns out that __FUNCTION__ is a
GCC-specific feature, and the C99 equivalent is __func__. The patch attached
replaces __FUNCTION__ with __func__, and detects when __func__ is not defined
(i.e. not compiling in C99 mode).
--
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the quake3-bugzilla
mailing list