Closed
Bug 17610
Opened 25 years ago
Closed 25 years ago
some code is not const-correct
Categories
(Core Graveyard :: Java APIs for DOM, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: akhil.arora, Assigned: akhil.arora)
Details
the following warnings are generated by Sun's Workshop 5.0 compiler, which is
stricter about const correctness than 4.2 used to be.
"nsJavaDOMImpl.cpp", line 368: Warning: String literal converted to char* in
initialization.
"javaDOMEventsGlobals.cpp", line 1868: Warning: String literal converted to
char* in initialization.
"javaDOMEventsGlobals.cpp", line 1868: Warning: String literal converted to
char* in initialization.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•25 years ago
|
||
Similar changes are needed for getting rid of warnings on NT (per Denis Sharypov
<sdv@sparc.spb.su>) -
- nsJavaDOMImpl.cpp (explicit conversion to char needed)
- javaDOMGlobals.h (redeclaration as class, first declared as struct in
prlog.h,
should stay declared as struct)
- both makefile.win (get rid of unneeded and already unexistent
module lib name)
- also in dom/makefile.win (use $(JAVAHOME) variable instead of
hardcoding path to jdk)
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•