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

VERIFIED WONTFIX

Status

MozillaClassic
P3
trivial
VERIFIED WONTFIX
20 years ago
19 years ago

People

(Reporter: Berkley Shands, Assigned: Chris McAfee)

Tracking

1998-04-08
DEC
All

Details

(Reporter)

Description

20 years ago
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
(Assignee)

Updated

19 years ago
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → WONTFIX
(Assignee)

Comment 1

19 years ago
xfe is gone in the new world.

Updated

19 years ago
Status: RESOLVED → VERIFIED
Component: Platform: Rhapsody → XFE

Comment 2

19 years ago
Old bug. marking Verified.
You need to log in before you can comment on or make changes to this bug.