Closed Bug 440619 Opened 12 years ago Closed 9 years ago

compile warning: "HAVE_VA_LIST_AS_ARRAY" redefined

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mats, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [build_warning])

I wouldn't normally file a bug on a compile warning, but this one occurs
for EVERY C++ (and C?) file which is a bit annoying after a while...

../../dist/include/js/jsautocfg.h:54:1: warning: "HAVE_VA_LIST_AS_ARRAY" redefined
In file included from <command-line>:0:
./../../mozilla-config.h:63:1: warning: this is the location of the previous definition

jsautocfg.h have:
#define HAVE_VA_LIST_AS_ARRAY

mozilla-config.h have:
#define HAVE_VA_LIST_AS_ARRAY 1

which GCC apparently don't like:
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)

My system is x86_64 Ubuntu 8.04
Blocks: buildwarning
Whiteboard: [build_warning]
There is no such warning in current code. I have checked nightly build logs of windows and linux.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.