Closed
Bug 343456
Opened 18 years ago
Closed 13 years ago
Squash annoying "offsetof" warnings in layout in gcc 3.4+
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 450194
People
(Reporter: hwaara, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [build_warning])
When compiling trunk, there are a bunch of warnings like this:
/nsCSSPropList.h:325: warning: (perhaps the 'offsetof' macro was used incorrectly)
According to discussion in #developers, it's more or less a useless warning. One could write a configure test to compile with "-Wno-invalid-offsetof" for gcc 3.4+.
Reporter | ||
Comment 1•18 years ago
|
||
This could be usable for us, but it's possible that it's implemented in autoconf 2.4+ only (according to timeless)
http://autoconf-archive.cryp.to/ax_cflags_gcc_option.html
Updated•13 years ago
|
Blocks: buildwarning
Whiteboard: [build_warning]
Comment 2•13 years ago
|
||
Could not find any instance of this warning in the logs anymore.
Hence closing this bug.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Resolution: WORKSFORME → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•