Borland fails several tests due to missing exports from <limits> in its
dynamic runtime library.

The following two patches will use static linking on the problem
libraries (for borland only)


BOOST_ROOT/status jamfile for config/limits test

cvs diff Jamfile (in directory C:\Projects\3rdParty\boost\status)
Index: Jamfile
===================================================================
RCS file: /cvsroot/boost/boost/status/Jamfile,v
retrieving revision 1.106
diff -r1.106 Jamfile
30a31
> subinclude libs/spirit/test ;            # test-suite spirit
48,49c49,56
<            [ run libs/config/test/config_info.cpp : : :
<test-info>always_show_run_output ]
<            [ run libs/config/test/limits_test.cpp
<lib>../libs/test/build/boost_test_exec_monitor ]
---
>           
>           [ run libs/config/test/config_info.cpp : : : 
> <test-info>always_show_run_output ]
>           [ run libs/config/test/limits_test.cpp 
>                 <lib>../libs/test/build/boost_test_exec_monitor 
>               : #args
>               : #input-files
>               : <borland><*><runtime-link>static # uses limits; borland toolset 
> doesn't have a complete limits in the dynamic library
>           ]


Also, numeric/interval/test/jamfile

cvs diff Jamfile (in directory
C:\Projects\3rdParty\boost\libs\numeric\interval\test\)
Index: Jamfile
===================================================================
RCS file: /cvsroot/boost/boost/libs/numeric/interval/test/Jamfile,v
retrieving revision 1.2
diff -r1.2 Jamfile
17,23c17,57
<     [ run libs/numeric/interval/test/add.cpp      ]
<     [ run libs/numeric/interval/test/det.cpp      ]
<     [ run libs/numeric/interval/test/fmod.cpp     ]
<     [ run libs/numeric/interval/test/mul.cpp      ]
<     [ run libs/numeric/interval/test/overflow.cpp ]
<     [ run libs/numeric/interval/test/pi.cpp       ]
<     [ run libs/numeric/interval/test/pow.cpp      ]
---
>     [ run libs/numeric/interval/test/add.cpp
>         : #args
>         : #input-files
>         : <borland><*><runtime-link>static # uses limits; borland toolset doesn't 
> have a complete limits in the dynamic library
>     ]
>     
>     [ run libs/numeric/interval/test/det.cpp      
>         : #args
>         : #input-files
>         : <borland><*><runtime-link>static # uses limits; borland toolset doesn't 
> have a complete limits in the dynamic library
>     ]
>     
>     [ run libs/numeric/interval/test/fmod.cpp     
>         : #args
>         : #input-files
>         : <borland><*><runtime-link>static # uses limits; borland toolset doesn't 
> have a complete limits in the dynamic library
>     ]
>     
>     [ run libs/numeric/interval/test/mul.cpp      
>         : #args
>         : #input-files
>         : <borland><*><runtime-link>static # uses limits; borland toolset doesn't 
> have a complete limits in the dynamic library
>     ]
>     
>     [ run libs/numeric/interval/test/overflow.cpp 
>         : #args
>         : #input-files
>         : <borland><*><runtime-link>static # uses limits; borland toolset doesn't 
> have a complete limits in the dynamic library
>     ]
>     
>     [ run libs/numeric/interval/test/pi.cpp       
>         : #args
>         : #input-files
>         : <borland><*><runtime-link>static # uses limits; borland toolset doesn't 
> have a complete limits in the dynamic library
>     ]
>     
>     [ run libs/numeric/interval/test/pow.cpp      
>         : #args
>         : #input-files
>         : <borland><*><runtime-link>static # uses limits; borland toolset doesn't 
> have a complete limits in the dynamic library
>     ]
26c60,65
<         <lib>../../../test/build/boost_test_exec_monitor ]
---
>           <lib>../../../test/build/boost_test_exec_monitor 
>         : #args
>         : #input-files
>         : <borland><*><runtime-link>static # uses limits; borland toolset doesn't 
> have a complete limits in the dynamic library
>     ]
>     
28c67,72
<         <lib>../../../test/build/boost_test_exec_monitor ]
---
>           <lib>../../../test/build/boost_test_exec_monitor 
>         : #args
>         : #input-files
>         : <borland><*><runtime-link>static # uses limits; borland toolset doesn't 
> have a complete limits in the dynamic library
>     ]
>     
30c74,79
<         <lib>../../../test/build/boost_test_exec_monitor ]
---
>           <lib>../../../test/build/boost_test_exec_monitor 
>         : #args
>         : #input-files
>         : <borland><*><runtime-link>static # uses limits; borland toolset doesn't 
> have a complete limits in the dynamic library
>     ]
>     
32c81,85
<         <lib>../../../test/build/boost_test_exec_monitor ]
---
>           <lib>../../../test/build/boost_test_exec_monitor 
>         : #args
>         : #input-files
>         : <borland><*><runtime-link>static # uses limits; borland toolset doesn't 
> have a complete limits in the dynamic library
>     ]


-- 
AlisdairM

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to