mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-04-19 15:47:15 +02:00
78 lines
22 KiB
HTML
78 lines
22 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.13"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>MessagePack for C++: /home/kondo/work/msgpack-c/include/msgpack/preprocessor/config/config.hpp Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">MessagePack for C++
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.13 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_dd2411636cfeb3780831d8d9eec9249e.html">msgpack</a></li><li class="navelem"><a class="el" href="dir_97f5efed08092dcc5ea6193e4d579575.html">preprocessor</a></li><li class="navelem"><a class="el" href="dir_6919616a301556fa19c193e937e2e3f3.html">config</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">config.hpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="config_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor"># </span><span class="comment">/* **************************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"># * *</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"># * (C) Copyright Paul Mensonides 2002-2011. *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"># * (C) Copyright Edward Diener 2011. *</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"># * Distributed under the Boost Software License, Version 1.0. (See *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"># * accompanying file LICENSE_1_0.txt or copy at *</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"># * http://www.boost.org/LICENSE_1_0.txt) *</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"># * *</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"># ************************************************************************** */</span><span class="preprocessor"></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor"># </span><span class="comment">/* See http://www.boost.org for most recent version. */</span><span class="preprocessor"></span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor"># ifndef MSGPACK_PREPROCESSOR_CONFIG_CONFIG_HPP</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor"># define MSGPACK_PREPROCESSOR_CONFIG_CONFIG_HPP</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor"># </span><span class="comment">/* MSGPACK_PP_CONFIG_FLAGS */</span><span class="preprocessor"></span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#</span></div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="config_8hpp.html#a85f0a3f76538349e479e4a6dcea96044"> 18</a></span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_STRICT() 0x0001</span></div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="config_8hpp.html#ab3ff3412d295f83c32415dcf07f43579"> 19</a></span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_IDEAL() 0x0002</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#</span></div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="config_8hpp.html#ae353234dba1397d4db452c7fa2a34719"> 21</a></span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_MSVC() 0x0004</span></div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="config_8hpp.html#aa0d709be4147a2dc8e5201b23478fce2"> 22</a></span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_MWCC() 0x0008</span></div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="config_8hpp.html#a5d2d6e5aba49f5604ffe2ec5cb27d904"> 23</a></span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_BCC() 0x0010</span></div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="config_8hpp.html#a564b1bbbb779fee4bc15c80ae940cd23"> 24</a></span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_EDG() 0x0020</span></div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="config_8hpp.html#a531d2da1ea36921872eb16b6bfe98951"> 25</a></span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_DMC() 0x0040</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor"># ifndef MSGPACK_PP_CONFIG_FLAGS</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor"># if defined(__GCCXML__)</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_FLAGS() (MSGPACK_PP_CONFIG_STRICT())</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor"># elif defined(__WAVE__)</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_FLAGS() (MSGPACK_PP_CONFIG_STRICT())</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor"># elif defined(__MWERKS__) && __MWERKS__ >= 0x3200</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_FLAGS() (MSGPACK_PP_CONFIG_STRICT())</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor"># elif defined(__EDG__) || defined(__EDG_VERSION__)</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor"># if defined(_MSC_VER) && (defined(__INTELLISENSE__) || __EDG_VERSION__ >= 308)</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_FLAGS() (MSGPACK_PP_CONFIG_MSVC())</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor"># else</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_FLAGS() (MSGPACK_PP_CONFIG_EDG() | MSGPACK_PP_CONFIG_STRICT())</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor"># endif</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor"># elif defined(__MWERKS__)</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_FLAGS() (MSGPACK_PP_CONFIG_MWCC())</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor"># elif defined(__DMC__)</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_FLAGS() (MSGPACK_PP_CONFIG_DMC())</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor"># elif defined(__BORLANDC__) && __BORLANDC__ >= 0x581</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_FLAGS() (MSGPACK_PP_CONFIG_STRICT())</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor"># elif defined(__BORLANDC__) || defined(__IBMC__) || defined(__IBMCPP__) || defined(__SUNPRO_CC)</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_FLAGS() (MSGPACK_PP_CONFIG_BCC())</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor"># elif defined(_MSC_VER) && !defined(__clang__)</span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_FLAGS() (MSGPACK_PP_CONFIG_MSVC())</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor"># else</span></div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="config_8hpp.html#a142237cd7c22e22651ed94e0adacc82d"> 51</a></span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_FLAGS() (MSGPACK_PP_CONFIG_STRICT())</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor"># endif</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor"># endif</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor">#</span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor"># </span><span class="comment">/* MSGPACK_PP_CONFIG_EXTENDED_LINE_INFO */</span><span class="preprocessor"></span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="preprocessor">#</span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="preprocessor"># ifndef MSGPACK_PP_CONFIG_EXTENDED_LINE_INFO</span></div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="config_8hpp.html#a995eb3a13ed36860c87f2dfa4c446f33"> 58</a></span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_EXTENDED_LINE_INFO 0</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor"># endif</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="preprocessor">#</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="preprocessor"># </span><span class="comment">/* MSGPACK_PP_CONFIG_ERRORS */</span><span class="preprocessor"></span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor">#</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor"># ifndef MSGPACK_PP_CONFIG_ERRORS</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor"># ifdef NDEBUG</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_ERRORS 0</span></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="preprocessor"># else</span></div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="config_8hpp.html#aca562e208f8e115bae8ed7d05208495a"> 67</a></span> <span class="preprocessor"># define MSGPACK_PP_CONFIG_ERRORS 1</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="preprocessor"># endif</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="preprocessor"># endif</span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="preprocessor">#</span></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="preprocessor"># </span><span class="comment">/* MSGPACK_PP_VARIADICS */</span><span class="preprocessor"></span></div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="preprocessor">#</span></div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="config_8hpp.html#ad4ebc82259665f8268af2d3a75693ed3"> 73</a></span> <span class="preprocessor"># define MSGPACK_PP_VARIADICS_MSVC 0</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor"># if !defined MSGPACK_PP_VARIADICS</span></div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="preprocessor"># </span><span class="comment">/* variadic support explicitly disabled for all untested compilers */</span><span class="preprocessor"></span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="preprocessor"># if defined __GCCXML__ || defined __CUDACC__ || defined __PATHSCALE__ || defined __DMC__ || defined __CODEGEARC__ || defined __BORLANDC__ || defined __MWERKS__ || ( defined __SUNPRO_CC && __SUNPRO_CC < 0x5120 ) || defined __HP_aCC && !defined __EDG__ || defined __MRC__ || defined __SC__ || defined __IBMCPP__ || defined __PGI</span></div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="preprocessor"># define MSGPACK_PP_VARIADICS 0</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="preprocessor"># </span><span class="comment">/* VC++ (C/C++) */</span><span class="preprocessor"></span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor"># elif defined _MSC_VER && _MSC_VER >= 1400 && (!defined __EDG__ || defined(__INTELLISENSE__)) && !defined __clang__</span></div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor"># define MSGPACK_PP_VARIADICS 1</span></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="preprocessor"># undef MSGPACK_PP_VARIADICS_MSVC</span></div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="preprocessor"># define MSGPACK_PP_VARIADICS_MSVC 1</span></div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="preprocessor"># </span><span class="comment">/* Wave (C/C++), GCC (C++) */</span><span class="preprocessor"></span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="preprocessor"># elif defined __WAVE__ && __WAVE_HAS_VARIADICS__ || defined __GNUC__ && defined __GXX_EXPERIMENTAL_CXX0X__ && __GXX_EXPERIMENTAL_CXX0X__</span></div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="preprocessor"># define MSGPACK_PP_VARIADICS 1</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="preprocessor"># </span><span class="comment">/* EDG-based (C/C++), GCC (C), and unknown (C/C++) */</span><span class="preprocessor"></span></div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="preprocessor"># elif !defined __cplusplus && __STDC_VERSION__ >= 199901L || __cplusplus >= 201103L</span></div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="preprocessor"># define MSGPACK_PP_VARIADICS 1</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="preprocessor"># else</span></div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="config_8hpp.html#ac3895980061e083df498e0aa4a1cdd05"> 90</a></span> <span class="preprocessor"># define MSGPACK_PP_VARIADICS 0</span></div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="preprocessor"># endif</span></div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="preprocessor"># elif !MSGPACK_PP_VARIADICS + 1 < 2</span></div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="preprocessor"># undef MSGPACK_PP_VARIADICS</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="preprocessor"># define MSGPACK_PP_VARIADICS 1</span></div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="preprocessor"># if defined _MSC_VER && _MSC_VER >= 1400 && (defined(__INTELLISENSE__) || !(defined __EDG__ || defined __GCCXML__ || defined __CUDACC__ || defined __PATHSCALE__ || defined __clang__ || defined __DMC__ || defined __CODEGEARC__ || defined __BORLANDC__ || defined __MWERKS__ || defined __SUNPRO_CC || defined __HP_aCC || defined __MRC__ || defined __SC__ || defined __IBMCPP__ || defined __PGI))</span></div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="preprocessor"># undef MSGPACK_PP_VARIADICS_MSVC</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="preprocessor"># define MSGPACK_PP_VARIADICS_MSVC 1</span></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="preprocessor"># endif</span></div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="preprocessor"># else</span></div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="preprocessor"># undef MSGPACK_PP_VARIADICS</span></div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="preprocessor"># define MSGPACK_PP_VARIADICS 0</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="preprocessor"># endif</span></div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="preprocessor">#</span></div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="preprocessor"># endif</span></div></div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.13
|
|
</small></address>
|
|
</body>
|
|
</html>
|