Ticket #1388 (closed bug: wontfix)

Opened 5 years ago

Last modified 4 years ago

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

Changed 4 years ago by plobsing

  • description modified (diff)

Changed 4 years ago by plobsing

  • description modified (diff)

Changed 4 years ago by plobsing

  • description modified (diff)

Changed 4 years ago by plobsing

  • status changed from new to closed
  • resolution set to wontfix
  • description modified (diff)
Note: See TracTickets for help on using tickets.