Closed
Bug 469019
Opened 16 years ago
Closed 16 years ago
gfxRect shouldn't be forward declared as a class
Categories
(Core Graveyard :: GFX, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: timeless, Assigned: timeless)
References
()
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
longsonr
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
c:\home\mozilla.org\mozilla-central\dbg-firefox-i686-pc-mingw32\dist\include\thebes\gfxRect.h(57) : warning C4099: 'gfxRect' : type name first seen using 'class' now seen using 'struct'
c:\home\mozilla.org\mozilla-central\dbg-firefox-i686-pc-mingw32\dist\include\gfx\nsIImage.h(48) : see declaration of 'gfxRect'
nsXULElement.cpp
Building deps for /c/home/mozilla.org/mozilla-central/content/xul/content/src/nsXULElement.cpp
c:\home\mozilla.org\mozilla-central\dbg-firefox-i686-pc-mingw32\dist\include\thebes\gfxMatrix.h(67) : warning C4099: 'gfxMatrix' : type name first seen using 'class' now seen using 'struct'
c:\home\mozilla.org\mozilla-central\dbg-firefox-i686-pc-mingw32\dist\include\gfx\nsIImage.h(47) : see declaration of 'gfxMatrix'
Defined as a function in:
* gfx/thebes/public/gfxRect.h (View CVS log or CVS annotations) (View Hg log or Hg annotations)
57 struct THEBES_API gfxRect {
o line 63 -- gfxRect(const gfxRect& s) : pos(s.pos), size(s.size) {}
o line 64 -- gfxRect(const gfxPoint& _pos, const gfxSize& _size) : pos(_pos), size(_size) {}
o line 65 -- gfxRect(gfxFloat _x, gfxFloat _y, gfxFloat _width, gfxFloat _height) :
Defined as a struct type in:
* layout/svg/base/src/nsSVGUtils.h (View CVS log or CVS annotations) (View Hg log or Hg annotations)
o line 74 -- struct gfxRect;
Defined as a (forwarded) class in:
* gfx/public/nsIImage.h (View CVS log or CVS annotations) (View Hg log or Hg annotations)
o line 48 -- class gfxRect;
Comment 2•16 years ago
|
||
gfxMatrix is a struct too.
Updated•16 years ago
|
Attachment #352426 -
Flags: review?(bzbarsky) → review+
Attachment #352513 -
Flags: review?(longsonr)
Updated•16 years ago
|
Attachment #352513 -
Flags: review?(longsonr) → review+
Updated•16 years ago
|
Attachment #352513 -
Flags: superreview?(roc)
Attachment #352513 -
Flags: superreview?(roc) → superreview+
Updated•16 years ago
|
Attachment #352426 -
Attachment is obsolete: true
Updated•16 years ago
|
Keywords: checkin-needed
Whiteboard: [needs landing]
Updated•16 years ago
|
Attachment #352513 -
Attachment description: oops, incomplete patch/bug → oops, incomplete patch/bug
[Checkin: Comment 5]
Comment 5•16 years ago
|
||
Comment on attachment 352513 [details] [diff] [review]
oops, incomplete patch/bug
[Checkin: Comment 5]
http://hg.mozilla.org/mozilla-central/rev/635d4b7f26cb
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite-
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [needs landing]
Target Milestone: --- → mozilla1.9.2a1
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•