Ion

#includes in ion can cause name collisions with builtin header files

Bug #311819 reported by Jamu Kakar
2
Affects Status Importance Assigned to Milestone
Ion
Fix Committed
Medium
Jamu Kakar

Bug Description

A name collision between ion's limits.h and the builtin limits.h is
making this hack necessary:

#include <climits>
// FIXME WTF? Why is this required?! CHAR_BIT is defined in
// limits.h, imported by climits.
#ifndef CHAR_BIT
# define CHAR_BIT 8
#endif
#include <vector>
#include <string>

Related branches

Jamu Kakar (jkakar)
Changed in ion:
assignee: nobody → jkakar
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Jamu Kakar (jkakar) wrote :

Merged to ion/trunk r31.

Changed in ion:
status: In Progress → Fix Committed
Jamu Kakar (jkakar)
Changed in ion:
milestone: none → 0.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.