1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
6 <meta http-equiv=
"Content-Language" content=
"en-us">
7 <meta http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
9 <title>Boost.Compatibilty library
</title>
14 <img src=
"../../boost.png" alt=
"boost.png (6897 bytes)" align=
"middle"
15 width=
"277" height=
"86">
18 <h1>Boost.Compatibilty library
</h1>
20 <p>This library provides workarounds which allow the other Boost
21 libraries to be used on otherwise non-conforming platforms. We hope that
22 it will be possible to remove this library at some time in the future as
23 standard library suppliers become more conforming.
</p>
25 <h2>Missing C++ standard library CXX headers (e.g
<cstdio
>)
28 <p>The Python script:
<tt><a href=
29 "generate_cpp_c_headers.py">generate_cpp_c_headers.py
</a></tt> creates a
30 full set of C++ C header files (e.g.
<cstdio
>) that are missing on
31 some platforms. The header files created by this script reside in the
32 directory
<tt><a href=
33 "../../boost/compatibility/cpp_c_headers/">boost/compatibility/cpp_c_headers
</a></tt>.
34 To use the header files, add this directory to the include file search
35 path. For example:
</p>
37 cxx -I/usr/local/boost/boost/compatibility/cpp_c_headers ...
40 <p>Supported platforms are:
</p>
43 <li>Compaq Alpha, RedHat
6.2 Linux, Compaq C++ V6.3 (cxx)
</li>
45 <li>Compaq Alpha, Tru64 Unix V5.0, Compaq C++ V6.2 (cxx)
</li>
47 <li>Silicon Graphics, IRIX
6.5, MIPSpro Compilers: Version
7.3.1.1m
51 <p>There are more powerful alternatives to using the Boost.Compatibility
52 library CXX headers, e.g.
<a href=
"http://stlport.sourceforge.net">STLport
</a>
54 "http://www.fnal.gov/docs/working-groups/fpcltf/Pkg/ISOcxx/doc/0ISOcxx.html">
55 ISOCXX
</a>. However, in contrast to these alternatives, the
56 <tt>generate_cpp_c_headers.py
</tt> script is very light-weight (less than
57 100 non-comment lines of Python code), much less ambitious, significantly
58 easier to maintain and therefore more suitable as an interim
61 <p>Contributed by Ralf W. Grosse-Kunstleve.
</p>
63 <h2>Missing C++ standard library
<limits
> header workaround
64 <a href=
"../../boost/limits.hpp">boost/limits.hpp
</a></h2>
66 <p>Several Boost libraries require the standard library's
<limits
>
67 header, yet this header is not always supplied by non-conforming
68 compilers and libraries.
Header
<a href=
69 "../../boost/limits.hpp">boost/limits.hpp
</a> simply includes the
70 standard library
<limits
> header if available, otherwise includes
72 "../../boost/detail/limits.hpp">boost/detail/limits.hpp
</a>.
73 BOOST_NO_LIMITS from
<a href=
"../config/config.htm">boost/config.hpp
</a>
74 is used to determine
<limits
> availability.
</p>
76 <p>Note also the test program
<a href=
77 "../config/test/limits_test.cpp">limits_test.cpp
</a></p>
79 <p>Contributed by Jens Maurer.
</p>
81 <p> <br clear=
"all"></p>
84 <p><a href=
"http://validator.w3.org/check?uri=referer"><img border=
"0"
85 src=
"../../doc/images/valid-html401.png" alt=
86 "Valid HTML 4.01 Transitional" height=
"31" width=
"88"></a></p>
89 <!--webbot bot="Timestamp" s-type="EDITED" s-format="%d %B, %Y" startspan -->01 December,
2006<!--webbot bot="Timestamp" endspan i-checksum="38508" --></p>
91 <p><i>© Copyright Ralf W. Grosse-Kunstleve
2001</i></p>
93 <p><i>Distributed under the Boost Software License, Version
1.0. (See
94 accompanying file
<a href=
"../../LICENSE_1_0.txt">LICENSE_1_0.txt
</a> or
96 "http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt
</a>)
</i></p>