#646: const STRING problems
----------------------+-----------------------------------------------------
Reporter: NotFound | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: none | Version: 1.1.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
----------------------+-----------------------------------------------------
Description changed by NotFound:
Old description:
> The struct multi_func_list in multidispatch.h has several const STRING *
> members. His content is passed is several points to string functions that
> takes non-const arguments, giving warnings in C and errors in C++
>
> I fixed that in (to be edited when commited) but a better solution will
> be to make that functions take a const argument, and that implies doing
> the same with the related charset/encoding functions.
New description:
The struct multi_func_list in multidispatch.h has several const STRING *
members. His content is passed is several points to string functions that
takes non-const arguments, giving warnings in C and errors in C++
I fixed that in r38539 but a better solution will be to make that
functions take a const argument, and that implies doing the same with the
related charset/encoding functions.
--
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/646#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets