Closed Bug 343755 Opened 18 years ago Closed 18 years ago

seamonkey debug build fails in svg/

Categories

(Core :: SVG, defect)

PowerPC
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: stefanh, Assigned: tor)

Details

Attachments

(1 file)

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 :)
---------------------------------------------------------------------------------
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+
Checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: