Closed
Bug 503279
Opened 15 years ago
Closed 14 years ago
Fix "missing initializer" GCC warnings in gfx
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: dholbert)
References
Details
Attachments
(2 files, 1 obsolete file)
625 bytes,
patch
|
jrmuizel
:
review-
|
Details | Diff | Splinter Review |
2.48 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
gfx/qcms/transform.c: In function ‘adaption_matrix’: 506: warning: missing initializer 506: warning: (near initialization for ‘lam_rigg.invalid’)
Attachment #387618 -
Flags: review?(jmuizelaar)
Comment 2•15 years ago
|
||
I don't really see the point in this warning. I'd rather accept a patch that disables -Wmissing-field-initializers for qcms. Cairo also has a bunch of warnings like this, so it should also be compiled without -Wmissing-field-initializers.
Updated•15 years ago
|
Attachment #387618 -
Flags: review?(jmuizelaar) → review-
Assignee | ||
Comment 4•14 years ago
|
||
This patch disables the warning in three gfx subdirectories. There are currently (before this patch) 61 instances of the warning in gfx/cairo/cairo/, 5 in gfx/cairo/libpixman/, and 1 in gfx/qcms/. (That covers all the instances of this warning within gfx)
Assignee | ||
Updated•14 years ago
|
Attachment #457085 -
Flags: review?(jmuizelaar)
Assignee | ||
Comment 5•14 years ago
|
||
sorry, should have used CFLAGS, not COMPILE_CFLAGS. (both work, but IIUC, COMPILE_CFLAGS is a superset of the CFLAGS, and just tweaking CFLAGS is sufficient) Fixed here.
Attachment #457085 -
Attachment is obsolete: true
Attachment #457085 -
Flags: review?(jmuizelaar)
Assignee | ||
Updated•14 years ago
|
Attachment #457087 -
Flags: review?(jmuizelaar)
Updated•14 years ago
|
Attachment #457087 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 6•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/9c9440d8eee7
Assignee: timeless → dholbert
Status: NEW → RESOLVED
Closed: 14 years ago
Component: GFX: Color Management → Graphics
QA Contact: color-management → thebes
Resolution: --- → FIXED
Summary: In function "adaption_matrix": missing initializer "lam_rigg.invalid" → Fix "missing initializer" GCC warnings in gfx
Assignee | ||
Updated•14 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
You need to log in
before you can comment on or make changes to this bug.
Description
•