Ticket #1388 (new bug) — at Version 1
pirc does not build with C++
Reported by: | NotFound | Owned by: | kjs |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | pirc | Version: | 1.9.0 |
Severity: | fatal | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description (last modified by plobsing) (diff)
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.
Change History
Note: See
TracTickets for help on using
tickets.