Closed
Bug 30927
Opened 25 years ago
Closed 17 years ago
nsIDOMEvent.h defines a enum with names coinside with macros names
Categories
(Core :: DOM: Events, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: sdv, Assigned: joki)
Details
(Keywords: dom2)
LOCATE, ABORT, ERROR are macros defined in
LOCATE: D:\mozilla\gc\boehm\cord\de_cmds.h
ABORT: mozilla\gc\boehm\gc_priv.h
ERROR: D:\mozilla\config\mkdepend\def.h
respectively.
I include nsIDOMEvent.h and can't compile my file due to enum
names defined in nsIDOMEvent.h coincide with macros names.
enum names need to have some prefix like DOM_EVENT_
DOM_EVENT_ABORT
DOM_EVENT_LOCATE
DOM_EVENT_ERROR, etc.
Comment 1•25 years ago
|
||
Reassigning to joki (as agreed in private discussion)...
Assignee: vidur → joki
Assignee | ||
Comment 2•24 years ago
|
||
Hmm. This one isn't as easy as it seems. The names currently used a for 4.x
compliance. If we want to change them we have to change the idlc compiler which
generates the javascript stubs to recognize some common naming format in the
identifier names and continue to reflect the names into javascript under the
names listed. I don't really have time to work on it now. Going to have to
mark this future right now.
Target Milestone: --- → Future
Updated•24 years ago
|
Component: DOM Level 2 → DOM Events
How is this bug going? A critical bug without action in almost 4 years doesn't
sound so critical to me.
Could it be that this bug has resolved over the years?
Comment 5•17 years ago
|
||
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•