Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/compatibility/index.html @ 33

Last change on this file since 33 was 29, checked in by landauf, 16 years ago

updated boost from 1_33_1 to 1_34_1

File size: 3.8 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2"http://www.w3.org/TR/html4/loose.dtd">
3
4<html>
5<head>
6  <meta http-equiv="Content-Language" content="en-us">
7  <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
8
9  <title>Boost.Compatibilty library</title>
10</head>
11
12<body>
13  <div>
14    <img src="../../boost.png" alt="boost.png (6897 bytes)" align="middle"
15    width="277" height="86">
16    <hr>
17
18    <h1>Boost.Compatibilty library</h1>
19
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>
24
25    <h2>Missing C++ standard library CXX headers (e.g &lt;cstdio&gt;)
26    workaround</h2>
27
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. &lt;cstdio&gt;) 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>
36    <pre>
37cxx -I/usr/local/boost/boost/compatibility/cpp_c_headers ...
38</pre>
39
40    <p>Supported platforms are:</p>
41
42    <ul>
43      <li>Compaq Alpha, RedHat 6.2 Linux, Compaq C++ V6.3 (cxx)</li>
44
45      <li>Compaq Alpha, Tru64 Unix V5.0, Compaq C++ V6.2 (cxx)</li>
46
47      <li>Silicon Graphics, IRIX 6.5, MIPSpro Compilers: Version 7.3.1.1m
48      (CC)</li>
49    </ul>
50
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>
53    or <a href=
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
59    workaround.</p>
60
61    <p>Contributed by Ralf W. Grosse-Kunstleve.</p>
62
63    <h2>Missing C++ standard library &lt;limits&gt; header workaround
64    <a href="../../boost/limits.hpp">boost/limits.hpp</a></h2>
65
66    <p>Several Boost libraries require the standard library's &lt;limits&gt;
67    header, yet this header is not always supplied by non-conforming
68    compilers and libraries.&nbsp; Header <a href=
69    "../../boost/limits.hpp">boost/limits.hpp</a> simply includes the
70    standard library &lt;limits&gt; header if available, otherwise includes
71    <a href=
72    "../../boost/detail/limits.hpp">boost/detail/limits.hpp</a>.&nbsp;
73    BOOST_NO_LIMITS from <a href="../config/config.htm">boost/config.hpp</a>
74    is used to determine &lt;limits&gt; availability.</p>
75
76    <p>Note also the test program <a href=
77    "../config/test/limits_test.cpp">limits_test.cpp</a></p>
78
79    <p>Contributed by Jens Maurer.</p>
80
81    <p>&nbsp;<br clear="all"></p>
82    <hr>
83
84    <p><a href="http://validator.w3.org/check?uri=referer"><img border="0"
85    src="http://www.w3.org/Icons/valid-html401" alt=
86    "Valid HTML 4.01 Transitional" height="31" width="88"></a></p>
87
88    <p>Revised
89    <!--webbot bot="Timestamp" s-type="EDITED" s-format="%d %B, %Y" startspan -->01 December, 2006<!--webbot bot="Timestamp" endspan i-checksum="38508" --></p>
90
91    <p><i>&copy; Copyright Ralf W. Grosse-Kunstleve 2001</i></p>
92
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
95    copy at <a href=
96    "http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</a>)</i></p>
97  </div>
98</body>
99</html>
Note: See TracBrowser for help on using the repository browser.