Closed Bug 3563 Opened 26 years ago Closed 26 years ago

Editor will not build with gcc 2.7.x

Categories

(Core :: DOM: Editor, defect, P3)

Sun
Solaris
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: bruce, Assigned: akkzilla)

Details

Solaris 2.6, gcc 2.7.2.x: g++ -o nsTextEditor.o -c -fno-rtti -fno-handle-exceptions -Wall -include ../../config-defs.h -pipe -g -fPIC -DDEBUG -UNDEBUG -DDEBUG_brad -DTRACING -DOSTYPE=\"SunOS5\" -I../../dist/./include -I../../dist/include -I../../../mozilla/include -I/space/mozilla/libs/include -I../../dist/./public/jpeg -I../../dist/./public/png -I../../dist/./public/zlib -I/usr/openwin/include ../../../mozilla/editor/base/nsTextEditor.cpp ../../../mozilla/editor/base/nsTextEditor.cpp: In method `nsTextEditor::~nsTextEditor()': ../../../mozilla/editor/base/nsTextEditor.cpp:97: `Inherited' fails to be an aggregate typedef ../../../mozilla/editor/base/nsTextEditor.cpp: In method `unsigned int nsTextEditor::SetTextProperty(class nsIAtom *)': ../../../mozilla/editor/base/nsTextEditor.cpp:194: `Inherited' fails to be an aggregate typedef ../../../mozilla/editor/base/nsTextEditor.cpp:197: `Inherited' fails to be an aggregate typedef ../../../mozilla/editor/base/nsTextEditor.cpp:260: `Inherited' fails to be an aggregate typedef ../../../mozilla/editor/base/nsTextEditor.cpp: In method `unsigned int nsTextEditor::GetTextProperty(class nsIAtom *, int &, int &)': ../../../mozilla/editor/base/nsTextEditor.cpp:313: `Inherited' fails to be an aggregate typedef ../../../mozilla/editor/base/nsTextEditor.cpp:305: warning: unused variable `int i' ../../../mozilla/editor/base/nsTextEditor.cpp: In method `unsigned int nsTextEditor::RemoveTextProperty(class nsIAtom *)': ../../../mozilla/editor/base/nsTextEditor.cpp:369: warning: unused variable `unsigned int result' ../../../mozilla/editor/base/nsTextEditor.cpp:368: warning: unused parameter `class nsIAtom * aProperty' ../../../mozilla/editor/base/nsTextEditor.cpp: In method `unsigned int nsTextEditor::InsertBreak(int)': ../../../mozilla/editor/base/nsTextEditor.cpp:384: warning: unused parameter `int aCtrlKey' ../../../mozilla/editor/base/nsTextEditor.cpp: In method `unsigned int nsTextEditor::MoveSelectionUp(class nsIAtom *, int)': ../../../mozilla/editor/base/nsTextEditor.cpp:437: warning: unused parameter `class nsIAtom * aIncrement' ../../../mozilla/editor/base/nsTextEditor.cpp:437: warning: unused parameter `int aExtendSelection' ../../../mozilla/editor/base/nsTextEditor.cpp: In method `unsigned int nsTextEditor::MoveSelectionDown(class nsIAtom *, int)': ../../../mozilla/editor/base/nsTextEditor.cpp:442: warning: unused parameter `class nsIAtom * aIncrement' ../../../mozilla/editor/base/nsTextEditor.cpp:442: warning: unused parameter `int aExtendSelection' ../../../mozilla/editor/base/nsTextEditor.cpp: In method `unsigned int nsTextEditor::MoveSelectionNext(class nsIAtom *, int)': ../../../mozilla/editor/base/nsTextEditor.cpp:447: warning: unused parameter `class nsIAtom * aIncrement' ../../../mozilla/editor/base/nsTextEditor.cpp:447: warning: unused parameter `int aExtendSelection' ../../../mozilla/editor/base/nsTextEditor.cpp: In method `unsigned int nsTextEditor::MoveSelectionPrevious(class nsIAtom *, int)': ../../../mozilla/editor/base/nsTextEditor.cpp:452: warning: unused parameter `class nsIAtom * aIncrement' ../../../mozilla/editor/base/nsTextEditor.cpp:452: warning: unused parameter `int aExtendSelection' ../../../mozilla/editor/base/nsTextEditor.cpp: In method `unsigned int nsTextEditor::SelectNext(class nsIAtom *, int)': ../../../mozilla/editor/base/nsTextEditor.cpp:457: warning: unused parameter `class nsIAtom * aIncrement' ../../../mozilla/editor/base/nsTextEditor.cpp:457: warning: unused parameter `int aExtendSelection' ../../../mozilla/editor/base/nsTextEditor.cpp: In method `unsigned int nsTextEditor::SelectPrevious(class nsIAtom *, int)': ../../../mozilla/editor/base/nsTextEditor.cpp:462: warning: unused parameter `class nsIAtom * aIncrement' ../../../mozilla/editor/base/nsTextEditor.cpp:462: warning: unused parameter `int aExtendSelection' ../../../mozilla/editor/base/nsTextEditor.cpp: In method `unsigned int nsTextEditor::ScrollUp(class nsIAtom *)': ../../../mozilla/editor/base/nsTextEditor.cpp:467: warning: unused parameter `class nsIAtom * aIncrement' ../../../mozilla/editor/base/nsTextEditor.cpp: In method `unsigned int nsTextEditor::ScrollDown(class nsIAtom *)': ../../../mozilla/editor/base/nsTextEditor.cpp:472: warning: unused parameter `class nsIAtom * aIncrement' ../../../mozilla/editor/base/nsTextEditor.cpp: In method `unsigned int nsTextEditor::Insert(class nsIInputStream *)': ../../../mozilla/editor/base/nsTextEditor.cpp:482: warning: unused parameter `class nsIInputStream * aInputStream' gmake[2]: *** [nsTextEditor.o] Error 1 gmake[2]: Leaving directory `/space/mozilla/SunOS_5.6_clobber/builddir/editor/base' gmake[1]: *** [libs] Error 2 gmake[1]: Leaving directory `/space/mozilla/SunOS_5.6_clobber/builddir/editor' gmake: *** [libs] Error 2 /space/mozilla/SunOS_5.6_clobber/./mozilla/../builddir/webshell/tests/viewer/vie wer export binary missing, build FAILED
Assignee: kostello → akkana
It would be a BIG win for the editor to fix this, since it would enable Bruce to purify the editor... Reassigning bug to akkana@netscape.com
Giving to akkana.
This has been fixed... akkana checked in some code today to fix this. I'm now building with editor for purify and I believe luxor is doing --enable-editor for the tinderbox builds on it.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Marking fixed, since Bruce verified that it builds now.
Status: RESOLVED → VERIFIED
setting to an approximate milestone so it can be off of the no TFV list
Target Milestone: --- → M3
You need to log in before you can comment on or make changes to this bug.