Closed
Bug 351498
Opened 18 years ago
Closed 18 years ago
GCC emits type-punning warnings for inline functions in nsCoord.h
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 351229
People
(Reporter: ahaas, Unassigned)
Details
Attachments
(1 file)
851 bytes,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060904 SeaMonkey/1.5a Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060904 SeaMonkey/1.5a Hi. Building Firefox/SeaMonkey with GCC and optimization will produce many, many warnings about NS_IEEEPositiveInfinity() and NS_IEEEIsNan() functions. The warnings can be removed by replacing the casts in the function with the use of a union, as is seen in the supplied patch being submitted with this bug report. The resulting build works seemingly without problems, and the build log has fewer warning messages to dig through benefitting developers. Reproducible: Always Steps to Reproduce: 1. Build Firefox/SeaMonkey with GCC and optimizations. 2. Watch the build log for the type-punning warnings. 3. My machine is i686-pc-linux-gnu, so my build demonstrates that the warning cleanup works. I do not have a 64-bit machine to test the patch on, nor a 32-bit machine running in big-endian mode (like PPCLinux).
Comment 2•18 years ago
|
||
Someone already beat you to reporting this. :) *** This bug has been marked as a duplicate of 351229 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Summary: GCC emits type-punning warnings for inline functions in nsCoords.h → GCC emits type-punning warnings for inline functions in nsCoord.h
Assignee | ||
Updated•6 years ago
|
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•