#1388: pirc does not build with C++
----------------------+-----------------------------------------------------
Reporter: NotFound | Owner: kjs
Type: bug | Status: new
Priority: normal | Milestone:
Component: pirc | Version: 1.9.0
Severity: fatal | Keywords:
Lang: | Patch:
Platform: |
----------------------+-----------------------------------------------------
Old description:
> pirc does not build with C++
>
> The problem is that C++ does not allow automatic conversions from int to
> enums. Some cases can be easily fixed with casting, but there is a lot of
> places where they are set via macros that hide the target type. Either
> that macros must be redesigned or the enums must be replaced by ints. Or
> change the build system to always compile it with C. Or anything that
> works.
New description:
pirc does not build with C++
The problem is that C++ does not allow automatic conversions from int to
enums. Some cases can be easily fixed with casting, but there is a lot of
places where they are set via macros that hide the target type. Either
that macros must be redesigned or the enums must be replaced by ints. Or
change the build system to always compile it with C. Or anything that
works.
--
Comment(by plobsing):
This issue is now being tracked at as issue #14 for
https://github.com/parrot/pirc.
(https://github.com/parrot/pirc/issues/#issue/14)
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1388#comment:2>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets