Opened 12 years ago
Last modified 8 years ago
#5400 new Bugs
token_functions.hpp does not compile with exceptions off
Reported by: | anonymous | Owned by: | jsiek |
---|---|---|---|
Milestone: | To Be Determined | Component: | tokenizer |
Version: | Boost 1.47.0 | Severity: | Problem |
Keywords: | Cc: |
Description
uses throw (instead of boost::throw_exception as it should)
with exceptions off, you cannot use throw(), try, catch, etc., hence BOOST_TRY, BOOST_CATCH, BOOST_RETHROW
Note:
See TracTickets
for help on using tickets.
I'm having the same problem (v1.55.0). I've had to go to the file and replace throws with throw_exceptions. Of course, this is a horrible way to fix this since it will be overwritten when I update to a new version of Boost. It would be great if you increased the priority of this easy-to-fix issue. Thanks.