Boost logo

Boost Users :

Subject: [Boost-users] [program options] compile error if BOOST_NO_EXCEPTIONS defined
From: Olaf Krzikalla (olaf.krzikalla_at_[hidden])
Date: 2013-04-04 05:09:27


Hi,

MSVC 2008, program_options/variables_map.cpp:
try without catch error, if BOOST_NO_EXCEPTIONS is defined.

Fixable by wrapping the try on line 46:

+ #ifndef BOOST_NO_EXCEPTIONS
         try
+ #endif

Best Olaf


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net