diff -ru boost_1_34_0/boost/date_time/date_generators.hpp boost_1_34_0_ibm/boost/date_time/date_generators.hpp
old
|
new
|
|
153 | 153 | month_type month_; |
154 | 154 | }; |
155 | 155 | |
| 156 | //! Returns nth arg as string. 1 -> "first", 2 -> "second", max is 5. |
| 157 | BOOST_DATE_TIME_DECL const char* nth_as_str(int n); |
156 | 158 | |
157 | 159 | //! Useful generator functor for finding holidays |
158 | 160 | /*! Based on the idea in Cal. Calc. for finding holidays that are |
… |
… |
|
241 | 243 | week_num wn_; |
242 | 244 | day_of_week_type dow_; |
243 | 245 | }; |
244 | | |
245 | | //! Returns nth arg as string. 1 -> "first", 2 -> "second", max is 5. |
246 | | BOOST_DATE_TIME_DECL const char* nth_as_str(int n); |
| 246 | |
247 | 247 | |
248 | 248 | //! Useful generator functor for finding holidays and daylight savings |
249 | 249 | /*! Similar to nth_kday_of_month, but requires less paramters |
diff -ru boost_1_34_0/boost/function.hpp boost_1_34_0_ibm/boost/function.hpp
old
|
new
|
|
21 | 21 | // in anything that may be included by function_template.hpp doesn't break |
22 | 22 | #include <boost/function/detail/prologue.hpp> |
23 | 23 | |
24 | | // Visual Age C++ doesn't handle the file iteration well |
25 | | #if BOOST_WORKAROUND(__IBMCPP__, >= 500) |
| 24 | // Older versions of the IBM C++ compiler do not handle file iterations well |
| 25 | #if BOOST_WORKAROUND(__IBMCPP__, >= 500) && BOOST_WORKAROUND(__IBMCPP__, < 800) |
26 | 26 | # if BOOST_FUNCTION_MAX_ARGS >= 0 |
27 | 27 | # include <boost/function/function0.hpp> |
28 | 28 | # endif |
diff -ru boost_1_34_0/boost/numeric/interval/detail/ppc_rounding_control.hpp boost_1_34_0_ibm/boost/numeric/interval/detail/ppc_rounding_control.hpp
old
|
new
|
|
51 | 51 | |
52 | 52 | } // namespace detail |
53 | 53 | |
| 54 | // Do not declare the following C99 symbols if <math.h> is C99-compliant. |
| 55 | // Otherwise, conflicts may occur, due to differences between prototypes. |
| 56 | #if !defined(_ISOC99_SOURCE) && !defined(__USE_ISOC99) |
54 | 57 | extern "C" { |
55 | 58 | float rintf(float); |
56 | 59 | double rint(double); |
57 | 60 | } |
| 61 | #endif |
58 | 62 | |
59 | 63 | template<> |
60 | 64 | struct rounding_control<float>: |
diff -ru boost_1_34_0/boost/python/module_init.hpp boost_1_34_0_ibm/boost/python/module_init.hpp
old
|
new
|
|
26 | 26 | } \ |
27 | 27 | void init_module_##name() |
28 | 28 | |
29 | | # elif defined(_AIX) && !defined(BOOST_PYTHON_STATIC_MODULE) |
30 | | |
31 | | # include <boost/python/detail/aix_init_module.hpp> |
32 | | # define BOOST_PYTHON_MODULE_INIT(name) \ |
33 | | void init_module_##name(); \ |
34 | | extern "C" \ |
35 | | { \ |
36 | | extern PyObject* _PyImport_LoadDynamicModule(char*, char*, FILE *); \ |
37 | | void init##name() \ |
38 | | { \ |
39 | | boost::python::detail::aix_init_module( \ |
40 | | _PyImport_LoadDynamicModule, #name, &init_module_##name); \ |
41 | | } \ |
42 | | } \ |
43 | | void init_module_##name() |
44 | | |
45 | | # elif BOOST_PYTHON_USE_GCC_SYMBOL_VISIBILITY |
| 29 | # elif BOOST_PYTHON_USE_GCC_SYMBOL_VISIBILITY |
46 | 30 | |
47 | 31 | # define BOOST_PYTHON_MODULE_INIT(name) \ |
48 | 32 | void init_module_##name(); \ |
… |
… |
|
52 | 36 | } \ |
53 | 37 | void init_module_##name() |
54 | 38 | |
55 | | # else |
| 39 | # else |
56 | 40 | |
57 | 41 | # define BOOST_PYTHON_MODULE_INIT(name) \ |
58 | 42 | void init_module_##name(); \ |
diff -ru boost_1_34_0/boost/regex/v4/basic_regex.hpp boost_1_34_0_ibm/boost/regex/v4/basic_regex.hpp
old
|
new
|
|
254 | 254 | { |
255 | 255 | return do_assign(p1, p2, f); |
256 | 256 | } |
257 | | #if !defined(BOOST_NO_MEMBER_TEMPLATES) && !defined(__IBMCPP__) |
| 257 | #if !defined(BOOST_NO_MEMBER_TEMPLATES) |
258 | 258 | |
259 | 259 | template <class ST, class SA> |
260 | 260 | unsigned int BOOST_REGEX_CALL set_expression(const std::basic_string<charT, ST, SA>& p, flag_type f = regex_constants::normal) |
… |
… |
|
590 | 590 | return this->assign(that); |
591 | 591 | } |
592 | 592 | |
593 | | #if !defined(BOOST_NO_MEMBER_TEMPLATES) && !defined(__IBMCPP__) |
| 593 | #if !defined(BOOST_NO_MEMBER_TEMPLATES) |
594 | 594 | template <class ST, class SA> |
595 | 595 | explicit reg_expression(const std::basic_string<charT, ST, SA>& p, flag_type f = regex_constants::normal) |
596 | 596 | : basic_regex<charT, traits>(p, f) |
diff -ru boost_1_34_0/boost/tr1/detail/config.hpp boost_1_34_0_ibm/boost/tr1/detail/config.hpp
old
|
new
|
|
34 | 34 | # define BOOST_TR1_STD_HEADER(name) <../include/name> |
35 | 35 | # endif |
36 | 36 | |
37 | | #if defined(__GNUC__) && !defined(BOOST_HAS_INCLUDE_NEXT) |
38 | | # define BOOST_HAS_INCLUDE_NEXT |
| 37 | #if defined(__GNUC__) || (!defined(_AIX) && defined(__IBMCPP__) && __IBMCPP__ >= 800) |
| 38 | # ifndef BOOST_HAS_INCLUDE_NEXT |
| 39 | # define BOOST_HAS_INCLUDE_NEXT |
| 40 | # endif |
39 | 41 | #endif |
40 | 42 | |
41 | 43 | // Can't use BOOST_WORKAROUND here, it leads to recursive includes: |
diff -ru boost_1_34_0/libs/concept_check/stl_concept_covering.cpp boost_1_34_0_ibm/libs/concept_check/stl_concept_covering.cpp
old
|
new
|
|
591 | 591 | std::nth_element(ri, ri, ri, comp); |
592 | 592 | } |
593 | 593 | { |
594 | | #if defined(__GNUC__) |
| 594 | #if defined(__GNUC__) || defined(__IBMCPP__) |
595 | 595 | typedef less_than_op_first_archetype<> FT; |
596 | 596 | typedef less_than_op_second_archetype<> T; |
597 | 597 | #elif defined(__KCC) |
… |
… |
|
615 | 615 | fi = std::lower_bound(fi, fi, value, comp); |
616 | 616 | } |
617 | 617 | { |
618 | | #if defined(__GNUC__) |
| 618 | #if defined(__GNUC__) || defined(__IBMCPP__) |
619 | 619 | // Note, order of T,FT is flipped from lower_bound |
620 | 620 | typedef less_than_op_second_archetype<> FT; |
621 | 621 | typedef less_than_op_first_archetype<> T; |
… |
… |
|
639 | 639 | fi = std::upper_bound(fi, fi, value, comp); |
640 | 640 | } |
641 | 641 | { |
642 | | #if defined(__GNUC__) |
| 642 | #if defined(__GNUC__) || defined(__IBMCPP__) |
643 | 643 | typedef less_than_op_first_archetype< |
644 | 644 | less_than_op_second_archetype< null_archetype<>, optag2>, optag1> FT; |
645 | 645 | typedef less_than_op_second_archetype< |
… |
… |
|
669 | 669 | ignore_unused_variable_warning(p); |
670 | 670 | } |
671 | 671 | { |
672 | | #if defined(__GNUC__) |
| 672 | #if defined(__GNUC__) || defined(__IBMCPP__) |
673 | 673 | typedef less_than_op_first_archetype< |
674 | 674 | less_than_op_second_archetype<null_archetype<>, optag2>, optag1> FT; |
675 | 675 | typedef less_than_op_second_archetype< |
… |
… |
|
686 | 686 | { |
687 | 687 | typedef null_archetype<int> Arg1; |
688 | 688 | typedef null_archetype<char> Arg2; |
689 | | #if defined(__GNUC__) || defined(__KCC) |
| 689 | #if defined(__GNUC__) || defined(__KCC) || defined(__IBMCPP__) |
690 | 690 | typedef convertible_to_archetype<Arg1, |
691 | 691 | convertible_to_archetype<Arg2> > FT; |
692 | 692 | typedef convertible_to_archetype<Arg2, |
… |
… |
|
701 | 701 | } |
702 | 702 | { |
703 | 703 | typedef null_archetype<> Tout; |
704 | | #if defined(__GNUC__) || defined(__KCC) |
| 704 | #if defined(__GNUC__) || defined(__KCC) || defined(__IBMCPP__) |
705 | 705 | typedef less_than_op_first_archetype< |
706 | 706 | less_than_op_second_archetype< |
707 | 707 | convertible_to_archetype<Tout>, optag2>, optag1 > Tin1; |
diff -ru boost_1_34_0/libs/filesystem/src/operations.cpp boost_1_34_0_ibm/libs/filesystem/src/operations.cpp
old
|
new
|
|
17 | 17 | |
18 | 18 | #define _POSIX_PTHREAD_SEMANTICS // Sun readdir_r() needs this |
19 | 19 | |
| 20 | // enable the XPG-compliant version of readdir_r() on AIX |
| 21 | #if defined(_AIX) |
| 22 | # define _LINUX_SOURCE_COMPAT |
| 23 | #endif |
| 24 | |
20 | 25 | #if !(defined(__HP_aCC) && defined(_ILP32) && \ |
21 | 26 | !defined(_STATVFS_ACPP_PROBLEMS_FIXED)) |
22 | 27 | # define _FILE_OFFSET_BITS 64 // at worst, these defines may have no effect, |
diff -ru boost_1_34_0/libs/graph/src/graphviz_digraph_lex.cpp boost_1_34_0_ibm/libs/graph/src/graphviz_digraph_lex.cpp
old
|
new
|
|
1411 | 1411 | |
1412 | 1412 | #ifndef YY_ALWAYS_INTERACTIVE |
1413 | 1413 | #ifndef YY_NEVER_INTERACTIVE |
| 1414 | /* Avoid conflicts if isatty() has a different prototype in <unistd.h>. */ |
| 1415 | #if !defined(__IBMCPP__) |
1414 | 1416 | extern int isatty YY_PROTO(( int )); |
1415 | 1417 | #endif |
1416 | 1418 | #endif |
| 1419 | #endif |
1417 | 1420 | |
1418 | 1421 | #ifdef YY_USE_PROTOS |
1419 | 1422 | void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) |
diff -ru boost_1_34_0/libs/graph/src/graphviz_graph_lex.cpp boost_1_34_0_ibm/libs/graph/src/graphviz_graph_lex.cpp
old
|
new
|
|
1411 | 1411 | |
1412 | 1412 | #ifndef YY_ALWAYS_INTERACTIVE |
1413 | 1413 | #ifndef YY_NEVER_INTERACTIVE |
| 1414 | /* Avoid conflicts if isatty() has a different prototype in <unistd.h>. */ |
| 1415 | #if !defined(__IBMCPP__) |
1414 | 1416 | extern int isatty YY_PROTO(( int )); |
1415 | 1417 | #endif |
1416 | 1418 | #endif |
| 1419 | #endif |
1417 | 1420 | |
1418 | 1421 | #ifdef YY_USE_PROTOS |
1419 | 1422 | void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) |
diff -ru boost_1_34_0/libs/mpl/test/integral_c.cpp boost_1_34_0_ibm/libs/mpl/test/integral_c.cpp
old
|
new
|
|
11 | 11 | // $Date: 2005/05/14 16:00:57 $ |
12 | 12 | // $Revision: 1.5 $ |
13 | 13 | |
| 14 | #if defined(__IBMCPP__) |
| 15 | #pragma options chars=signed |
| 16 | #endif |
| 17 | |
14 | 18 | #include <boost/mpl/integral_c.hpp> |
15 | 19 | #include <boost/preprocessor/repeat.hpp> |
16 | 20 | |
diff -ru boost_1_34_0/libs/python/test/select_from_python_test.cpp boost_1_34_0_ibm/libs/python/test/select_from_python_test.cpp
old
|
new
|
|
5 | 5 | #include <boost/python/type_id.hpp> |
6 | 6 | #include <iostream> |
7 | 7 | |
8 | | // gcc 2.95.x and MIPSpro 7.3.1.3 linker seem to demand this definition |
9 | | #if ((defined(__GNUC__) && __GNUC__ < 3)) \ |
10 | | || (defined(__sgi) && defined(__EDG_VERSION__) && (__EDG_VERSION__ == 238)) |
| 8 | // gcc 2.95.x, MIPSpro 7.3.1.3 and IBM XL for Linux linker seem to demand this definition |
| 9 | #if (defined(__GNUC__) && (__GNUC__ < 3)) \ |
| 10 | || (defined(__sgi) && defined(__EDG_VERSION__) && (__EDG_VERSION__ == 238)) \ |
| 11 | || (defined(__IBMCPP__) && defined(__linux__)) |
11 | 12 | namespace boost { namespace python { |
12 | 13 | BOOST_PYTHON_DECL bool handle_exception_impl(function0<void>) |
13 | 14 | { |
diff -ru boost_1_34_0/libs/test/test/prg_exec_fail2.cpp boost_1_34_0_ibm/libs/test/test/prg_exec_fail2.cpp
old
|
new
|
|
26 | 26 | #include <cstddef> //Metrowerks linker needs at least one standard library |
27 | 27 | #endif |
28 | 28 | |
| 29 | #if defined(__IBMCPP__) |
| 30 | #pragma options check=divzero |
| 31 | #endif |
| 32 | |
29 | 33 | |
30 | 34 | int cpp_main( int, char *[] ) // note the name |
31 | 35 | { |
diff -ru boost_1_34_0/tools/build/v2/tools/python.jam boost_1_34_0_ibm/tools/build/v2/tools/python.jam
old
|
new
|
|
626 | 626 | |
627 | 627 | case hpux : return <library>rt ; |
628 | 628 | |
| 629 | case aix : return <library>pthread <library>dl ; |
| 630 | |
629 | 631 | case * : return <library>pthread <library>dl <toolset>gcc:<library>util ; |
630 | 632 | } |
631 | 633 | } |
… |
… |
|
926 | 928 | { |
927 | 929 | alias python_for_extensions : python : $(target-requirements) ; |
928 | 930 | } |
| 931 | # On AIX we need Python extensions and Boost.Python to import symbols |
| 932 | # from the Python interpreter. Dynamic libraries opened with dlopen() |
| 933 | # do not inherit the symbols from the Python interpreter. |
| 934 | else if $(target-os) = aix |
| 935 | { |
| 936 | alias python_for_extensions |
| 937 | : |
| 938 | : $(target-requirements) |
| 939 | : |
| 940 | : $(usage-requirements) <linkflags>-Wl,-bI:$(libraries[1])/python.exp |
| 941 | ; |
| 942 | } |
929 | 943 | else |
930 | 944 | { |
931 | 945 | alias python_for_extensions |
diff -ru boost_1_34_0/tools/build/v2/tools/vacpp.jam boost_1_34_0_ibm/tools/build/v2/tools/vacpp.jam
old
|
new
|
|
5 | 5 | # or copy at http://www.boost.org/LICENSE_1_0.txt) |
6 | 6 | |
7 | 7 | # |
8 | | # Boost.Build V2 toolset for the IBM VisualAge compiler |
| 8 | # Boost.Build V2 toolset for the IBM XL C++ compiler |
9 | 9 | # |
10 | 10 | |
11 | 11 | import toolset : flags ; |
12 | 12 | import feature ; |
13 | 13 | import common ; |
14 | 14 | import generators ; |
| 15 | import os ; |
15 | 16 | |
16 | 17 | feature.extend toolset : vacpp ; |
17 | 18 | toolset.inherit vacpp : unix ; |
… |
… |
|
19 | 20 | generators.override vacpp.searched-lib-generator : searched-lib-generator ; |
20 | 21 | feature.subfeature toolset vacpp : version ; |
21 | 22 | |
22 | | # Configures the vacpp toolset. |
| 23 | # Configure the vacpp toolset |
23 | 24 | rule init ( version ? : command * : options * ) |
24 | 25 | { |
25 | 26 | } |
26 | 27 | |
27 | | |
28 | 28 | # Declare generators |
29 | 29 | generators.register-c-compiler vacpp.compile.c : C : OBJ : <toolset>vacpp ; |
30 | 30 | generators.register-c-compiler vacpp.compile.c++ : CPP : OBJ : <toolset>vacpp ; |
31 | 31 | |
32 | | # Declare flags. |
| 32 | # Allow C++ style comments in C files |
| 33 | flags vacpp CFLAGS : -qcpluscmt ; |
| 34 | |
| 35 | # Declare flags |
33 | 36 | flags vacpp CFLAGS <optimization>off : -qNOOPTimize ; |
34 | 37 | flags vacpp CFLAGS <optimization>speed : -O3 -qstrict ; |
35 | 38 | flags vacpp CFLAGS <optimization>space : -O2 -qcompact ; |
36 | 39 | |
| 40 | # Discretionary inlining (not recommended) |
37 | 41 | flags vacpp CFLAGS <inlining>off : -qnoinline ; |
38 | 42 | flags vacpp CFLAGS <inlining>on : -qinline ; |
39 | | flags vacpp CFLAGS <inlining>full : -qinline ; |
| 43 | #flags vacpp CFLAGS <inlining>full : -qinline ; |
| 44 | flags vacpp CFLAGS <inlining>full : ; |
40 | 45 | |
| 46 | # Exception handling |
41 | 47 | flags vacpp C++FLAGS <exception-handling>off : -qnoeh ; |
42 | 48 | flags vacpp C++FLAGS <exception-handling>on : -qeh ; |
43 | 49 | |
| 50 | # Run-time Type Identification |
44 | 51 | flags vacpp C++FLAGS <rtti>off : -qnortti ; |
45 | 52 | flags vacpp C++FLAGS <rtti>on : -qrtti ; |
46 | 53 | |
47 | | # flags vacpp LINKFLAGS <runtime-link>static : -llibstd_v2.a ; |
48 | | # flags vacpp LINKFLAGS <runtime-link>shared : -llibstd_v2.sl ; |
49 | | |
50 | | # We want the full path to the sources in the debug symbols because otherwise |
51 | | # the debugger won't find the sources when we use boost.build. |
52 | | flags vacpp CFLAGS <debug-symbols>on : -g ; |
53 | | flags vacpp LINKFLAGS <debug-symbols>on : -g ; |
| 54 | # Enable 64-bit memory addressing model |
| 55 | flags vacpp CFLAGS <address-model>64 : -q64 ; |
| 56 | flags vacpp LINKFLAGS <address-model>64 : -q64 ; |
| 57 | flags vacpp ARFLAGS <address-model>64 : -X 64 ; |
| 58 | |
| 59 | # Use absolute path when generating debug information |
| 60 | flags vacpp CFLAGS <debug-symbols>on : -g -qfullpath ; |
| 61 | flags vacpp LINKFLAGS <debug-symbols>on : -g -qfullpath ; |
54 | 62 | flags vacpp LINKFLAGS <debug-symbols>off : -s ; |
55 | 63 | |
56 | | # V2 does not have <shared-linkable>, not sure what this meant in V1. |
57 | | #flags vacpp CFLAGS <shared-linkable>true : +Z ; |
| 64 | if [ os.name ] = AIX |
| 65 | { |
| 66 | # Tell the linker to discard unneeded object files from archive libraries. |
| 67 | # Please note that the static constructors contained by the discarded object |
| 68 | # files will not be invoked. |
| 69 | flags vacpp.compile C++FLAGS : -qfuncsect ; |
| 70 | flags vacpp.link LINKFLAGS <link>static : -qtwolink ; |
| 71 | |
| 72 | # Run-time linking |
| 73 | flags vacpp.link EXE-LINKFLAGS <link>shared : -brtl ; |
| 74 | } |
| 75 | else |
| 76 | { |
| 77 | # Linux PPC |
| 78 | flags vacpp.compile CFLAGS <link>shared : -qpic ; |
| 79 | } |
58 | 80 | |
| 81 | # Profiling |
59 | 82 | flags vacpp CFLAGS <profiling>on : -pg ; |
60 | 83 | flags vacpp LINKFLAGS <profiling>on : -pg ; |
61 | 84 | |
… |
… |
|
79 | 102 | flags vacpp VA_CXX_COMPILER <threading>single : xlC ; |
80 | 103 | flags vacpp VA_CXX_COMPILER <threading>multi : xlC_r ; |
81 | 104 | |
82 | | ROOT = /usr/vacpp/bin ; |
| 105 | |
83 | 106 | actions vacpp.link bind NEEDLIBS |
84 | 107 | { |
85 | | $(ROOT)/$(VA_CXX_COMPILER) $(LINKFLAGS) -o "$(<[1])" -L$(LIBPATH) -L$(STDLIBPATH) "$(>)" "$(NEEDLIBS)" "$(NEEDLIBS)" -l$(FINDLIBS) |
| 108 | $(VA_CXX_COMPILER) $(EXE-LINKFLAGS) $(LINKFLAGS) -o "$(<[1])" -L$(LIBPATH) -L$(STDLIBPATH) "$(>)" "$(NEEDLIBS)" "$(NEEDLIBS)" -l$(FINDLIBS) |
86 | 109 | } |
87 | 110 | |
88 | 111 | actions vacpp.link.dll bind NEEDLIBS |
89 | 112 | { |
90 | | xlC_r -qmkshrobj $(LINKFLAGS) -o "$(<[1])" -L$(LIBPATH) -L$(STDLIBPATH) "$(>)" "$(NEEDLIBS)" "$(NEEDLIBS)" -l$(FINDLIBS) |
| 113 | xlC_r -G $(LINKFLAGS) -o "$(<[1])" -L$(LIBPATH) -L$(STDLIBPATH) "$(>)" "$(NEEDLIBS)" "$(NEEDLIBS)" -l$(FINDLIBS) |
91 | 114 | } |
92 | 115 | |
93 | 116 | actions vacpp.compile.c |
94 | | { |
95 | | $(ROOT)/$(VA_C_COMPILER) -c -I$(BOOST_ROOT) -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)" |
| 117 | { |
| 118 | $(VA_C_COMPILER) -c -I$(BOOST_ROOT) -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)" |
96 | 119 | } |
97 | 120 | |
98 | 121 | actions vacpp.compile.c++ |
99 | 122 | { |
100 | | $(ROOT)/$(VA_CXX_COMPILER) -c -I$(BOOST_ROOT) -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)" |
| 123 | $(VA_CXX_COMPILER) -c -I$(BOOST_ROOT) -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)" |
101 | 124 | } |
102 | 125 | |
103 | 126 | actions updated together piecemeal vacpp.archive |
diff -ru boost_1_34_0/tools/build/v2/util/os.jam boost_1_34_0_ibm/tools/build/v2/util/os.jam
old
|
new
|
|
71 | 71 | |
72 | 72 | .shared-library-path-variable-MACOSX = DYLD_LIBRARY_PATH ; |
73 | 73 | |
| 74 | .shared-library-path-variable-AIX = LIBPATH ; |
| 75 | |
74 | 76 | # Default constants |
75 | 77 | .shared-library-path-variable = LD_LIBRARY_PATH ; |
76 | 78 | .path-separator = ":" ; |
diff -ru boost_1_34_0/tools/regression/compiler_status.cpp boost_1_34_0_ibm/tools/regression/compiler_status.cpp
old
|
new
|
|
576 | 576 | test_type_base.erase( trailer ); |
577 | 577 | } |
578 | 578 | } |
| 579 | if ( test_type_base.size() > 4 ) |
| 580 | { |
| 581 | const string::size_type trailer = test_type_base.size() - 4; |
| 582 | if ( test_type_base.substr( trailer ) == "_pyd" ) |
| 583 | { |
| 584 | test_type_base.erase( trailer ); |
| 585 | } |
| 586 | } |
579 | 587 | const xml::element & test_type_element( find_element( db, test_type_base ) ); |
580 | 588 | |
581 | 589 | pass = !test_type_element.name.empty() |