3 <meta http-equiv=
"Content-Type" content=
"text/html; charset=US-ASCII">
4 <title>Compiler specifics
</title>
5 <link rel=
"stylesheet" href=
"../boostbook.css" type=
"text/css">
6 <meta name=
"generator" content=
"DocBook XSL Stylesheets V1.77.1">
7 <link rel=
"home" href=
"../index.html" title=
"Chapter 1. Boost.Bimap">
8 <link rel=
"up" href=
"../index.html" title=
"Chapter 1. Boost.Bimap">
9 <link rel=
"prev" href=
"reference/unconstrained_set_of_reference.html" title=
"unconstrained_set_of Reference">
10 <link rel=
"next" href=
"performance.html" title=
"Performance">
12 <body bgcolor=
"white" text=
"black" link=
"#0000FF" vlink=
"#840084" alink=
"#0000FF">
13 <table cellpadding=
"2" width=
"100%"><tr>
14 <td valign=
"top"><img alt=
"Boost C++ Libraries" width=
"277" height=
"86" src=
"../../../../../boost.png"></td>
15 <td align=
"center"><a href=
"../../../../../index.html">Home
</a></td>
16 <td align=
"center"><a href=
"../../../../../libs/libraries.htm">Libraries
</a></td>
17 <td align=
"center"><a href=
"http://www.boost.org/users/people.html">People
</a></td>
18 <td align=
"center"><a href=
"http://www.boost.org/users/faq.html">FAQ
</a></td>
19 <td align=
"center"><a href=
"../../../../../more/index.htm">More
</a></td>
22 <div class=
"spirit-nav">
23 <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>
25 <div class=
"section boost_bimap_compiler_specifics">
26 <div class=
"titlepage"><div><div><h2 class=
"title" style=
"clear: both">
27 <a name=
"boost_bimap.compiler_specifics"></a><a class=
"link" href=
"compiler_specifics.html" title=
"Compiler specifics">Compiler specifics
</a>
28 </h2></div></div></div>
29 <div class=
"informaltable"><table class=
"table">
328 <a name=
"boost_bimap.compiler_specifics.h0"></a>
329 <span class=
"phrase"><a name=
"boost_bimap.compiler_specifics.vs_7_1"></a></span><a class=
"link" href=
"compiler_specifics.html#boost_bimap.compiler_specifics.vs_7_1">VS
333 If a .cpp file uses more than four different bimaps the compiler will run out
334 of symbols and issue an internal compiler error. The official solution in msdn
335 is to split the .cpp in several files or upgrade your compiler.
338 <a name=
"boost_bimap.compiler_specifics.h1"></a>
339 <span class=
"phrase"><a name=
"boost_bimap.compiler_specifics.vs_8_0"></a></span><a class=
"link" href=
"compiler_specifics.html#boost_bimap.compiler_specifics.vs_8_0">VS
343 VC++
8.0 warns on usage of certain Standard Library and API functions that
344 can be cause buffer overruns or other possible security issues if misused.
345 See http://msdn.microsoft.com/msdnmag/issues/
05/
05/SafeCandC/default.aspx But
346 the wording of the warning is misleading and unsettling, there are no portable
347 alternative functions, and VC++
8.0's own libraries use the functions in question.
348 In order to turn off the warnings add the followings defines at the begging
351 <pre class=
"programlisting"><span class=
"preprocessor">#define
</span> <span class=
"identifier">_CRT_SECURE_NO_DEPRECATE
</span>
352 <span class=
"preprocessor">#define
</span> <span class=
"identifier">_SCL_SECURE_NO_DEPRECATE
</span>
355 <table xmlns:
rev=
"http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width=
"100%"><tr>
356 <td align=
"left"></td>
357 <td align=
"right"><div class=
"copyright-footer">Copyright
© 2006-
2012 Matias Capeletto
<p>
358 Distributed under the Boost Software License, Version
1.0. (See accompanying
359 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>)
364 <div class=
"spirit-nav">
365 <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>