Closed Bug 679346 Opened 10 years ago Closed 10 years ago
.cpp:1233: warning: ‘void Unsafe Error(const char*, ...)’ defined but not used
Another GCC warning snuck in. Introduced by jsdbg2, probably.
_GNU_SOURCE is a way for *programs* to specify which signatures they want from GNU system headers that... anyway, it's not what you want here. The compiler's preprocessor badge is __GNUC__.  ...or something? if you care, read on: http://www.gnu.org/s/hello/manual/libc/Feature-Test-Macros.html
Assignee: general → jorendorff
Attachment #553475 - Flags: review?(sphink)
I forgot to mention, in case the war room is reading along here: it turns out jsdbg2 is innocent! In fact, it's perfect in every way. Please don't back it out. :)
The above link describes _GNU_SOURCE, but I needed to continue my edumification at http://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html I think I knew this, but did a lazy grep for "GNU" and grabbed the first thing that looked relevant. Thanks for the cleanup.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
You need to log in before you can comment on or make changes to this bug.