[issue10910] pyport.h FreeBSD/Mac OS X "fix" causes errors in C++ compilation

2012-01-28 Thread Chen Huang
Chen Huang added the comment: Nevermind, putting #include doesn't help. I have to put on top to get away this. -- ___ Python tracker <http://bugs.python.org/is

[issue10910] pyport.h FreeBSD/Mac OS X "fix" causes errors in C++ compilation

2012-01-28 Thread Chen Huang
Chen Huang added the comment: if I put "#include " before boost/date_time, it solves my problem. And by the way, i can't seem to get to the point where boost/week_ptr.hpp causes the error. I tried to compile Nasos's upload test-boost-python. That codes

[issue10910] pyport.h FreeBSD/Mac OS X "fix" causes errors in C++ compilation

2012-01-28 Thread Chen Huang
Chen Huang added the comment: I am experiencing the same issue. Googled for a bit but couldn't find much with the error, then changed the search context, come across to this thread. In file included from /opt/local/include/boost/date_time/gregorian/parsers.hpp:13,