Opened 10 years ago

Closed 10 years ago

#8056 closed Bugs (fixed)

compiling wave custom_directives sample yields compile errors

Reported by: Jarrett <j.chisholm@…> Owned by: Hartmut Kaiser
Milestone: To Be Determined Component: wave
Version: Boost Development Trunk Severity: Problem
Keywords: custom_directives error Cc:

Description

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.

Attachments (1)

patchfile.patch (394 bytes ) - added by Jarrett <j.chisholm@…> 10 years ago.
contains fix for bug

Download all attachments as: .zip

Change History (2)

by Jarrett <j.chisholm@…>, 10 years ago

Attachment: patchfile.patch added

contains fix for bug

comment:1 by Hartmut Kaiser, 10 years ago

Resolution: fixed
Status: newclosed

(In [82862]) Fix #8056: compiling wave custom_directives sample yields compile errors

Note: See TracTickets for help on using tickets.