Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > a65517607ef053b8c8e6c720e8c36e77 > files > 247

libsmbios-devel-2.2.26-3.fc14.i686.rpm

<!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"/>
<title>libsmbios_c library: /builddir/build/BUILD/libsmbios-2.2.26/src/include/smbios/config/select_compiler_config.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>/builddir/build/BUILD/libsmbios-2.2.26/src/include/smbios/config/select_compiler_config.hpp</h1>  </div>
</div>
<div class="contents">
<a href="select__compiler__config_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//  Boost compiler configuration selection header file</span>
<a name="l00002"></a>00002 
<a name="l00003"></a>00003 <span class="comment">//  (C) Copyright John Maddock 2001 - 2003. </span>
<a name="l00004"></a>00004 <span class="comment">//  (C) Copyright Martin Wille 2003.</span>
<a name="l00005"></a>00005 <span class="comment">//  (C) Copyright Guillaume Melquiond 2003. </span>
<a name="l00006"></a>00006 <span class="comment">//  Use, modification and distribution are subject to the </span>
<a name="l00007"></a>00007 <span class="comment">//  Boost Software License, Version 1.0. (See accompanying file </span>
<a name="l00008"></a>00008 <span class="comment">//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)</span>
<a name="l00009"></a>00009 
<a name="l00010"></a>00010 <span class="comment">//  See http://www.boost.org for most recent version.</span>
<a name="l00011"></a>00011 <span class="comment">//</span>
<a name="l00012"></a>00012 <span class="comment">//  Modified on 2004-03-28 for libsmbios by Michael Brown</span>
<a name="l00013"></a>00013 <span class="comment">//    -- libsmbios only supports limited compiler and platform configs, so we</span>
<a name="l00014"></a>00014 <span class="comment">//    have removed some of the compilers supported by boost. We can add a</span>
<a name="l00015"></a>00015 <span class="comment">//    few back in if they are needed in the future (IBM, Metroworks, etc.)</span>
<a name="l00016"></a>00016 <span class="comment">//</span>
<a name="l00017"></a>00017 <span class="comment">//    To add new compiler back in, please copy the relevant lines from boost.</span>
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 <span class="comment">// locate which compiler we are using and define</span>
<a name="l00021"></a>00021 <span class="comment">// LIBSMBIOS_COMPILER_CONFIG as needed: </span>
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 <span class="preprocessor"># if defined __GNUC__</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="comment">//  GNU C++:</span>
<a name="l00025"></a>00025 <span class="preprocessor">#   define LIBSMBIOS_COMPILER_CONFIG &quot;smbios/config/compiler/gcc.hpp&quot;</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span>
<a name="l00027"></a>00027 <span class="preprocessor">#elif defined _MSC_VER</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="comment">//  Microsoft Visual C++</span>
<a name="l00029"></a>00029 <span class="comment">//</span>
<a name="l00030"></a>00030 <span class="comment">//  Must remain the last #elif since some other vendors (Metrowerks, for</span>
<a name="l00031"></a>00031 <span class="comment">//  example) also #define _MSC_VER</span>
<a name="l00032"></a>00032 <span class="preprocessor">#   define LIBSMBIOS_COMPILER_CONFIG &quot;smbios/config/compiler/visualc.hpp&quot;</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span>
<a name="l00034"></a>00034 <span class="preprocessor">#elif defined (LIBSMBIOS_ASSERT_CONFIG)</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span><span class="comment">// this must come last - generate an error if we don&#39;t</span>
<a name="l00036"></a>00036 <span class="comment">// recognise the compiler:</span>
<a name="l00037"></a>00037 <span class="preprocessor">#  error &quot;Unknown compiler - please report to libsmbios maintainer.&quot; </span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>
<a name="l00039"></a>00039 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Oct 5 2010 for libsmbios_c library by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>