Closed Bug 309 Opened 26 years ago Closed 26 years ago

explicit cast needed in 19980429/mozilla/cmd/xfe/src/ Button.cpp

Categories

(MozillaClassic Graveyard :: XFE, defect, P3)

1998-04-08
DEC
All
defect

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: berkley, Assigned: mcafee)

Details

Created by Berkley Shands (berkley@cs.wustl.edu) on Wednesday, May 6, 1998 10:17:18 AM PDT
Additional Details :
cxx: Warning: Command.h, line 242: "void
XFE_ObjectIsCommand::doCommand(XFE_View *, XFE_CommandInfo
*)" does not match "XFE_ViewCommand::doCommand" -- virtual
function override intended?
                void  doCommand(XFE_View* view,
XFE_CommandInfo* info);
----------------------^
cxx: Error: Button.cpp, line 304: no instance of constructor
"XFE_CommandInfo::XFE_CommandInfo" matches the argument list
            argument types are: (XFE_CommandEventType,
Widget, XEvent *, long, int)
                        XFE_CommandInfo
e_info(XFE_COMMAND_BUTTON_ACTIVATE,
-----------------------------------------------^
cxx: Error: Button.cpp, line 327: no instance of constructor
"XFE_CommandInfo::XFE_CommandInfo" matches the argument list
            argument types are: (XFE_CommandEventType,
Widget, XEvent *, long, int)
                        XFE_CommandInfo
e_info(XFE_COMMAND_BUTTON_ACTIVATE,
-----------------------------------------------^
2 errors detected in the compilation of "Button.cpp".

the needed cast is (String*)
			XFE_CommandInfo e_info(XFE_COMMAND_BUTTON_ACTIVATE,
						 w,cbs->event,(String*) NULL,0);

berkley
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WONTFIX
xfe is gone in the new world.
Status: RESOLVED → VERIFIED
Component: Platform: Rhapsody → XFE
Old bug. marking Verified.
You need to log in before you can comment on or make changes to this bug.