
OK - I solved the problem below by replacing my inclusion of boost/exception/all.hpp with all the files that are included in all.hpp, and then commenting out info_tuple.hpp as follows: #include <boost/exception/diagnostic_information.hpp> #include <boost/exception/error_info.hpp> #include <boost/exception/exception.hpp> #include <boost/exception/get_error_info.hpp> #include <boost/exception/info.hpp> //#include <boost/exception/info_tuple.hpp> // Commenting this line out fixed the compilation problem. #include <boost/exception/errinfo_api_function.hpp> #include <boost/exception/errinfo_at_line.hpp> #include <boost/exception/errinfo_errno.hpp> #include <boost/exception/errinfo_file_handle.hpp> #include <boost/exception/errinfo_file_name.hpp> #include <boost/exception/errinfo_file_open_mode.hpp> #include <boost/exception/errinfo_type_info_name.hpp> - Bruce
---------------- in is_function_ptr_tester.hpp (line 37):
#if !defined(BOOST_TT_PREPROCESSING_MODE) // pre-processed code, don't edit, try GNU cpp with // cpp -I../../../ -DBOOST_TT_PREPROCESSING_MODE -x c++ -P filename
template <class R > // Error Here!!! yes_type is_function_ptr_tester(R (*)()); -------------------
The second error traces back to boost_1_40_0/boost/exception/all.hpp as shown in the extensive include hierarchy list below: