Opened 8 years ago
Closed 4 years ago
#7170 closed defect (fixed)
PRINCE: Casting away const-ness without an explicit const_cast
Reported by: | DrMcCoy | Owned by: | sev- |
---|---|---|---|
Priority: | blocker | Component: | Engine: Prince |
Version: | Keywords: | ||
Cc: | Game: |
Description
GCC's -Wcast-qual complains about the casting away of cost-ness with a C-style cast in
- engines/prince/prince.cpp:2587
- engines/prince/script.cpp:1019
- engines/prince/script.cpp:1835
Ticket imported from: bugs/7170.
Change History (4)
comment:1 by , 8 years ago
comment:2 by , 7 years ago
Component: | → Engine: Prince |
---|---|
Priority: | low → normal |
comment:3 by , 4 years ago
Priority: | normal → blocker |
---|
comment:4 by , 4 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
This has been fixed 5 and 7 months ago in 325587b1b4eaadc42baaf93c7a03e6ceb11072dc and faafefc8337d9d4b4bbbdb1b3139d371c5ee6ec4
Note:
See TracTickets
for help on using tickets.
These indicate actual bugs, by the way. Results from
c_str()
calls are stored persistently, which is a very bad idea.