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

Bug #311819 reported by Jamu Kakar on 2008-12-27
Affects Status Importance Assigned to Milestone
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
#include <vector>
#include <string>

Related branches

Jamu Kakar (jkakar) on 2008-12-27
Changed in ion:
assignee: nobody → jkakar
importance: Undecided → Medium
status: New → In Progress
Jamu Kakar (jkakar) wrote :

Merged to ion/trunk r31.

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

Other bug subscribers