Subject: [Boost-bugs] [Boost C++ Libraries] #8056: compiling wave custom_directives sample yields compile errors
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-13 19:55:38
#8056: compiling wave custom_directives sample yields compile errors
---------------------------------------------------+------------------------
Reporter: Jarrett <j.chisholm@â¦> | Owner: hkaiser
Type: Bugs | Status: new
Milestone: To Be Determined | Component: wave
Version: Boost Development Trunk | Severity: Problem
Keywords: custom_directives error |
---------------------------------------------------+------------------------
compiling wave custom_directives sample yields compile errors on Debian
64-bit.
Results from command line are:
{{{
g++ -lboost_wave custom_directives.cpp custom_directives.hpp
In file included from custom_directives.hpp:23:0:
/usr/local/include/boost/wave/preprocessing_hooks.hpp: In member function
âbool
boost::wave::context_policies::default_preprocessing_hooks::locate_include_file(ContextT&,
std::string&, bool, const char*, std::string&, std::string&)â:
/usr/local/include/boost/wave/preprocessing_hooks.hpp:218:39: error:
âpreprocess_exceptionâ was not declared in this scope
/usr/local/include/boost/wave/preprocessing_hooks.hpp:218:61: error:
âbad_include_fileâ was not declared in this scope
}}}
The problem is that the file preprocessing_hooks.hpp is missing an include
for the cpp_exceptions.hpp file.
Patch file (generated against trunk) is attached.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8056> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC