index.html 3.8 KB

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