#includes in ion can cause name collisions with builtin header files
Bug #311819 reported by
Jamu Kakar
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
lp:~jkakar/ion/avoid-name-collisions
(Merged)
Changed in ion: | |
assignee: | nobody → jkakar |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in ion: | |
milestone: | none → 0.1.0 |
To post a comment you must log in.
Merged to ion/trunk r31.