From ed08a8cfb1b7d614616b23b9750d664524d87841 Mon Sep 17 00:00:00 2001 From: Joachim Reichel Date: Tue, 20 Mar 2007 19:14:02 +0000 Subject: [PATCH] output version string --- Installation/config/support/test_BOOST_BIMAP.cpp | 4 ++++ Installation/config/support/test_BOOST_PROGRAM_OPTIONS.cpp | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Installation/config/support/test_BOOST_BIMAP.cpp b/Installation/config/support/test_BOOST_BIMAP.cpp index 1a8d29b8698..e4cdd2d9174 100644 --- a/Installation/config/support/test_BOOST_BIMAP.cpp +++ b/Installation/config/support/test_BOOST_BIMAP.cpp @@ -28,6 +28,10 @@ using boost::bimap::set_of; int main() { + std::cout << "version=" << BOOST_VERSION/100000 << "." + << ((BOOST_VERSION / 100) % 100) << "." + << BOOST_VERSION % 100 << std::endl; + bimap >, set_of > > function; diff --git a/Installation/config/support/test_BOOST_PROGRAM_OPTIONS.cpp b/Installation/config/support/test_BOOST_PROGRAM_OPTIONS.cpp index 8d959df08ef..51d797e81ee 100644 --- a/Installation/config/support/test_BOOST_PROGRAM_OPTIONS.cpp +++ b/Installation/config/support/test_BOOST_PROGRAM_OPTIONS.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2006 Utrecht University (The Netherlands), +// Copyright (c) 2006, 2007 Utrecht University (The Netherlands), // ETH Zurich (Switzerland), Freie Universitaet Berlin (Germany), // INRIA Sophia-Antipolis (France), Martin-Luther-University Halle-Wittenberg // (Germany), Max-Planck-Institute Saarbruecken (Germany), RISC Linz (Austria), @@ -28,6 +28,10 @@ int main(int ac, char *av[]) { + std::cout << "version=" << BOOST_VERSION/100000 << "." + << ((BOOST_VERSION / 100) % 100) << "." + << BOOST_VERSION % 100 << std::endl; + boost::program_options::options_description desc("Allowed options"); desc.add_options() ("help", "produce help message")