[ScummVM] #7171: SWORD25: Casting away const-ness without an explicit const_cast
ScummVM Trac
trac at scummvm.org
Wed Aug 17 11:24:31 CEST 2016
#7171: SWORD25: Casting away const-ness without an explicit const_cast
--------------------+------------------------------
Reporter: DrMcCoy | Owner:
Type: defect | Status: new
Priority: low | Component: Engine: Sword25
Version: | Resolution:
Keywords: | Game:
--------------------+------------------------------
Changes (by bluegr):
* component: => Engine: Sword25
Old description:
> {{{#!Markdown
> GCC's -Wcast-qual complains about the casting away of cost-ness with a
> C-style cast in various lua files in sword25:
>
> - engines/sword25/util/lua/ldblib.cpp:213
> - engines/sword25/util/lua/ldblib.cpp:249
> - engines/sword25/util/lua/ldblib.cpp:254
>
> As well as through the use of the sentinel macro in
> engines/sword25/util/lua/loadlib.cpp:128. Usages of that macro in:
>
> - engines/sword25/util/lua/loadlib.cpp:138
> - engines/sword25/util/lua/loadlib.cpp:161
> - engines/sword25/util/lua/loadlib.cpp:168
> }}}
> {{{#!div style="font-size: 75%"
> Ticket imported from: bugs/7171.
> }}}
New description:
{{{#!Markdown
GCC's -Wcast-qual complains about the casting away of cost-ness with a
C-style cast in various lua files in sword25:
- engines/sword25/util/lua/ldblib.cpp:213
- engines/sword25/util/lua/ldblib.cpp:249
- engines/sword25/util/lua/ldblib.cpp:254
As well as through the use of the sentinel macro in
engines/sword25/util/lua/loadlib.cpp:128. Usages of that macro in:
- engines/sword25/util/lua/loadlib.cpp:138
- engines/sword25/util/lua/loadlib.cpp:161
- engines/sword25/util/lua/loadlib.cpp:168
}}}
{{{#!div style="font-size: 75%"
Ticket imported from: bugs/7171.
}}}
--
--
Ticket URL: <https://bugs.scummvm.org/ticket/7171#comment:1>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list