blob: a093d5f95f42f9368e36eaec2fa2e429216f2d52 [file] [log] [blame]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Compiler specifics</title>
<link rel="stylesheet" href="../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../index.html" title="Chapter&#160;1.&#160;Boost.Bimap">
<link rel="up" href="../index.html" title="Chapter&#160;1.&#160;Boost.Bimap">
<link rel="prev" href="reference/unconstrained_set_of_reference.html" title="unconstrained_set_of Reference">
<link rel="next" href="performance.html" title="Performance">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="reference/unconstrained_set_of_reference.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="performance.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="boost_bimap.compiler_specifics"></a><a class="link" href="compiler_specifics.html" title="Compiler specifics">Compiler specifics</a>
</h2></div></div></div>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead><tr>
<th>
<p>
Compiler
</p>
</th>
<th>
<p>
OS Tested
</p>
</th>
<th>
<p>
State
</p>
</th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
GCC 3.3
</p>
</td>
<td>
<p>
Linux
</p>
</td>
<td>
<p>
Supported
</p>
</td>
</tr>
<tr>
<td>
<p>
GCC 3.4
</p>
</td>
<td>
<p>
Linux
</p>
</td>
<td>
<p>
Supported
</p>
</td>
</tr>
<tr>
<td>
<p>
GCC 4.0
</p>
</td>
<td>
<p>
Linux, Mac
</p>
</td>
<td>
<p>
Supported
</p>
</td>
</tr>
<tr>
<td>
<p>
GCC 4.1
</p>
</td>
<td>
<p>
Linux
</p>
</td>
<td>
<p>
Supported
</p>
</td>
</tr>
<tr>
<td>
<p>
GCC 4.2
</p>
</td>
<td>
<p>
Linux
</p>
</td>
<td>
<p>
Supported
</p>
</td>
</tr>
<tr>
<td>
<p>
ICC 8.0
</p>
</td>
<td>
<p>
Linux
</p>
</td>
<td>
<p>
Supported
</p>
</td>
</tr>
<tr>
<td>
<p>
ICC 9.0
</p>
</td>
<td>
<p>
Linux
</p>
</td>
<td>
<p>
Supported
</p>
</td>
</tr>
<tr>
<td>
<p>
ICC 9.1
</p>
</td>
<td>
<p>
Linux
</p>
</td>
<td>
<p>
Supported
</p>
</td>
</tr>
<tr>
<td>
<p>
GCC 4.2
</p>
</td>
<td>
<p>
Linux
</p>
</td>
<td>
<p>
Supported
</p>
</td>
</tr>
<tr>
<td>
<p>
GCC 4.2
</p>
</td>
<td>
<p>
Linux
</p>
</td>
<td>
<p>
Supported
</p>
</td>
</tr>
<tr>
<td>
<p>
VS 7.1
</p>
</td>
<td>
<p>
Windows
</p>
</td>
<td>
<p>
Supported
</p>
</td>
</tr>
<tr>
<td>
<p>
VS 8.0
</p>
</td>
<td>
<p>
Windows
</p>
</td>
<td>
<p>
Supported
</p>
</td>
</tr>
<tr>
<td>
<p>
ICC 7.1
</p>
</td>
<td>
<p>
Windows
</p>
</td>
<td>
<p>
Not Supported
</p>
</td>
</tr>
<tr>
<td>
<p>
ICC 8.0
</p>
</td>
<td>
<p>
Windows
</p>
</td>
<td>
<p>
Supported
</p>
</td>
</tr>
<tr>
<td>
<p>
ICC 9.1
</p>
</td>
<td>
<p>
Windows
</p>
</td>
<td>
<p>
Supported
</p>
</td>
</tr>
<tr>
<td>
<p>
CW 8.3
</p>
</td>
<td>
<p>
Windows
</p>
</td>
<td>
<p>
Not Supported
</p>
</td>
</tr>
</tbody>
</table></div>
<a name="boost_bimap.compiler_specifics.vs_7_1"></a><h3>
<a name="id857967"></a>
<a class="link" href="compiler_specifics.html#boost_bimap.compiler_specifics.vs_7_1">VS 7.1</a>
</h3>
<p>
If a .cpp file uses more than four differents bimaps the compiler will run
out of symbols and issue an internal compiler error. The official solution
in msdn is to split the .cpp in several files or upgrade your compiler.
</p>
<a name="boost_bimap.compiler_specifics.vs_8_0"></a><h3>
<a name="id857995"></a>
<a class="link" href="compiler_specifics.html#boost_bimap.compiler_specifics.vs_8_0">VS 8.0</a>
</h3>
<p>
VC++ 8.0 warns on usage of certain Standard Library and API functions that
can be cause buffer overruns or other possible security issues if misused.
See http://msdn.microsoft.com/msdnmag/issues/05/05/SafeCandC/default.aspx But
the wording of the warning is misleading and unsettling, there are no portable
alternative functions, and VC++ 8.0's own libraries use the functions in question.
In order to turn off the warnings add the followings defines at the begging
of your .cpp files:
</p>
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">_CRT_SECURE_NO_DEPRECATE</span>
<span class="preprocessor">#define</span> <span class="identifier">_SCL_SECURE_NO_DEPRECATE</span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2006 -2007 Matias Capeletto<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="reference/unconstrained_set_of_reference.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="performance.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>