Closed
Bug 413984
Opened 18 years ago
Closed 15 years ago
Compile gfx/cairo/ with WARNINGS_AS_ERRORS
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: MatsPalmgren_bugz, Unassigned)
References
Details
Attachments
(1 file)
|
1.36 KB,
patch
|
Details | Diff | Splinter Review |
When the bugs in the depends list are fixed we should compile gfx/cairo/
with WARNINGS_AS_ERRORS to let the compiler find errors like bug 413358
and bug 413169.
Comment 1•18 years ago
|
||
It was a pain for me to get it compiling cairo with warnings as errors with gcc 4.1.
I had to relax and use "-std=c99".
There are some warnings, as empty if bodies, which could be disabled.
Cairo from git pass those flags as default to me:
"-Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long", to disable some warnings.
I also had to put a flag which is used by default on cairo from git:
-fno-strict-aliasing
I haven't ignored missing field initializers, by the way =/.
Comment 2•15 years ago
|
||
This would be nice to have but I don't feel like it's worth perusing. Jeff?
Comment 3•15 years ago
|
||
Reopen if you think this is worth pursuing/willing to work on a patch.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•