Ignore:
Timestamp:
03/09/11 08:35:04 (11 years ago)
Author:
tbretz
Message:
Added compatibility with boost V1.40
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/dclient5.cc

    r10221 r10230  
    491491    catch (std::exception &e)
    492492    {
     493#if BOOST_VERSION > 104000
    493494        po::multiple_occurrences *MO = dynamic_cast<po::multiple_occurrences*>(&e);
    494495        if (MO)
    495496            cout << "Error: " << e.what() << " of '" << MO->get_option_name() << "' option." << endl;
    496497        else
     498#endif
    497499            cout << "Error: " << e.what() << endl;
    498500        cout << endl;
Note: See TracChangeset for help on using the changeset viewer.