seamonkey debug build fails in svg/

RESOLVED FIXED

Status

()

--
critical
RESOLVED FIXED
12 years ago
12 years ago

People

(Reporter: stefanh, Assigned: tor)

Tracking

Trunk
PowerPC
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

12 years ago
Mac OS 10.3.9, build fails (clean & recent source):

/Users/Stefan/mozilla-debug/mozilla/layout/svg/base/src/nsSVGTextContainerFrame.h:78: warning: `
   virtual nsresult 
   nsSVGTextContainerFrame::GetCharNumAtPosition(nsIDOMSVGPoint*, PRInt32*)' 
   was hidden
/Users/Stefan/mozilla-debug/mozilla/layout/svg/base/src/nsSVGTSpanFrame.h:96: warning: 
    by `virtual PRInt32 nsSVGTSpanFrame::GetCharNumAtPosition(nsIDOMSVGPoint*)'
In file included from /Users/Stefan/mozilla-debug/mozilla/layout/svg/base/src/nsSVGTextPathFrame.cpp:37:
../../../../dist/include/xpcom/nsCOMPtr.h: In destructor `
   nsCOMPtr<T>::~nsCOMPtr() [with T = nsIDOMSVGLength]':
/Users/Stefan/mozilla-debug/mozilla/layout/svg/base/src/nsSVGTextPathFrame.h:56:   instantiated from here
../../../../dist/include/xpcom/nsCOMPtr.h:581: error: invalid static_cast from 
   type `nsIDOMSVGLength*' to type `nsISupports*'
../../../../dist/include/xpcom/nsCOMPtr.h:583: error: `Release' undeclared 
   (first use this function)
../../../../dist/include/xpcom/nsCOMPtr.h:583: error: (Each undeclared 
   identifier is reported only once for each function it appears in.)
make[7]: *** [nsSVGTextPathFrame.o] Error 1
make[6]: *** [libs] Error 2
make[5]: *** [libs] Error 2
make[4]: *** [libs] Error 2
make[3]: *** [libs_tier_9] Error 2
make[2]: *** [tier_9] Error 2
make[1]: *** [alldep] Error 2


From #svg:
---------------------------------------------------------------------------------
<stefanh> Hmm, my seamonkey debug build fails - looks svg related (Mac OS 10.3.9)
<tor> try adding a #include of nsIDOMSVGLength.h to nsSVGTextPathFrame.h
<stefanh> ah
	hang on
	tor: yes, looks like it works now :)
---------------------------------------------------------------------------------
(Assignee)

Comment 1

12 years ago
Created attachment 228350 [details] [diff] [review]
add missing include
Attachment #228350 - Flags: superreview?(roc)
Attachment #228350 - Flags: review?(roc)
Attachment #228350 - Flags: superreview?(roc)
Attachment #228350 - Flags: superreview+
Attachment #228350 - Flags: review?(roc)
Attachment #228350 - Flags: review+
(Assignee)

Comment 2

12 years ago
Checked in.
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.