11 Oct
2002
11 Oct
'02
10:46 a.m.
This bug comes up when I try to include
in certain CodeWarrior projects. ... Error: undefined identifier 'ptrdiff_t' ... I get this too when using Code Warrior for PlayStation2 with
. It appears that the compiler-supplied <cstddef> simply contains #include
, so ptrdiff_t is not getting defined in the std namespace. Doing this: namespace std{using ::ptrdiff_t;} #include
fixes it, but I'm not sure that this is strictly allowed.
If anybody knows a better fix, please let me know.
Maybe we need to define BOOST_NO_STDC_NAMESPACE for that combination? John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm