Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pirc does not build with C++ #14

Open
plobsing opened this issue Nov 28, 2010 · 0 comments
Open

pirc does not build with C++ #14

plobsing opened this issue Nov 28, 2010 · 0 comments

Comments

@plobsing
Copy link
Contributor

Originally reported in parrot TT #1388 (http://trac.parrot.org/parrot/ticket/1388)

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant