#include "raw_convert.h"
#include "verify.h"
#include "version.h"
-#include <boost/bind.hpp>
-#include <boost/optional.hpp>
+#include <boost/bind/bind.hpp>
#include <boost/filesystem.hpp>
+#include <boost/optional.hpp>
#include <getopt.h>
#include <iostream>
#include <cstdlib>
using std::vector;
using boost::bind;
using boost::optional;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
static void
}
if (!failed && !quiet) {
- if (bv21_failed || warned) {
- cout << "\n";
+ if (bv21_failed && warned) {
+ cout << "\nDCP verified OK (but with Bv2.1 errors and warnings).\n";
+ } else if (bv21_failed) {
+ cout << "\nDCP verified OK (but with Bv2.1 errors).\n";
+ } else if (warned) {
+ cout << "\nDCP verified OK (but with warnings).\n";
+ } else {
+ cout << "DCP verified OK.\n";
}
- cout << "DCP verified OK.\n";
}
exit (failed ? EXIT_FAILURE : EXIT_SUCCESS);