3 * Copyright (c) 1998-2004
6 * Use, modification and distribution are subject to the
7 * Boost Software License, Version 1.0. (See accompanying file
8 * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
13 * LOCATION: see http://www.boost.org for most recent version.
14 * FILE: regex_debug.cpp
15 * VERSION: see <boost/version.hpp>
16 * DESCRIPTION: Misc. debugging helpers.
20 #define BOOST_REGEX_SOURCE
22 #include <boost/regex/config.hpp>
26 // regex configuration information: this prints out the settings used
27 // when the library was built - include in debugging builds only:
29 #ifdef BOOST_REGEX_CONFIG_INFO
31 #define print_macro regex_lib_print_macro
32 #define print_expression regex_lib_print_expression
33 #define print_byte_order regex_lib_print_byte_order
34 #define print_sign regex_lib_print_sign
35 #define print_compiler_macros regex_lib_print_compiler_macros
36 #define print_stdlib_macros regex_lib_print_stdlib_macros
37 #define print_platform_macros regex_lib_print_platform_macros
38 #define print_boost_macros regex_lib_print_boost_macros
39 #define print_separator regex_lib_print_separator
40 #define OLD_MAIN regex_lib_main
41 #define NEW_MAIN regex_lib_main2
44 #include <libs/regex/test/config_info/regex_config_info.cpp>
46 BOOST_REGEX_DECL
void BOOST_REGEX_CALL
print_regex_library_info()
50 std::cout
<< "Regex library build configuration:\n\n";