root/doc/xml/CMakeCXXCompilerId_8cpp.xml @ 234

Revision 187, 29.1 kB (checked in by smidl, 16 years ago)

doc

Line 
1<?xml version='1.0' encoding='UTF-8' standalone='no'?>
2<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.5.6">
3  <compounddef id="CMakeCXXCompilerId_8cpp" kind="file">
4    <compoundname>CMakeCXXCompilerId.cpp</compoundname>
5      <sectiondef kind="define">
6      <memberdef kind="define" id="CMakeCXXCompilerId_8cpp_181dee0709ded976b2e0319239f72d174" prot="public" static="no">
7        <name>COMPILER_ID</name>
8        <initializer>&quot;&quot;</initializer>
9        <briefdescription>
10        </briefdescription>
11        <detaileddescription>
12        </detaileddescription>
13        <inbodydescription>
14        </inbodydescription>
15        <location file="/home/smidl/work/git/mixpp/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp" line="62" bodyfile="/home/smidl/work/git/mixpp/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp" bodystart="62" bodyend="-1"/>
16      </memberdef>
17      <memberdef kind="define" id="CMakeCXXCompilerId_8cpp_1dbc5372f40838899018fadbc89bd588b" prot="public" static="no">
18        <name>PLATFORM_ID</name>
19        <initializer>&quot;&quot;</initializer>
20        <briefdescription>
21        </briefdescription>
22        <detaileddescription>
23        </detaileddescription>
24        <inbodydescription>
25        </inbodydescription>
26        <location file="/home/smidl/work/git/mixpp/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp" line="146" bodyfile="/home/smidl/work/git/mixpp/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp" bodystart="146" bodyend="-1"/>
27      </memberdef>
28      </sectiondef>
29      <sectiondef kind="var">
30      <memberdef kind="variable" id="CMakeCXXCompilerId_8cpp_1ab4f0400f2b990cc0cfaa596066ed23a" prot="public" static="no" mutable="no">
31        <type>char *</type>
32        <definition>char* info_compiler</definition>
33        <argsstring></argsstring>
34        <name>info_compiler</name>
35        <initializer> &quot;INFO&quot; &quot;:&quot; &quot;compiler[&quot; COMPILER_ID &quot;]&quot;</initializer>
36        <briefdescription>
37        </briefdescription>
38        <detaileddescription>
39        </detaileddescription>
40        <inbodydescription>
41        </inbodydescription>
42        <location file="/home/smidl/work/git/mixpp/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp" line="70" bodyfile="/home/smidl/work/git/mixpp/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp" bodystart="70" bodyend="-1"/>
43      </memberdef>
44      <memberdef kind="variable" id="CMakeCXXCompilerId_8cpp_1bfa30dab5bd89c85774e2aaaca5262d1" prot="public" static="no" mutable="no">
45        <type>char *</type>
46        <definition>char* info_platform</definition>
47        <argsstring></argsstring>
48        <name>info_platform</name>
49        <initializer> &quot;INFO&quot; &quot;:&quot; &quot;platform[&quot; PLATFORM_ID &quot;]&quot;</initializer>
50        <briefdescription>
51        </briefdescription>
52        <detaileddescription>
53        </detaileddescription>
54        <inbodydescription>
55        </inbodydescription>
56        <location file="/home/smidl/work/git/mixpp/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp" line="154" bodyfile="/home/smidl/work/git/mixpp/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp" bodystart="154" bodyend="-1"/>
57      </memberdef>
58      </sectiondef>
59      <sectiondef kind="func">
60      <memberdef kind="function" id="CMakeCXXCompilerId_8cpp_1e66f6b31b5ad750f1fe042a706a4e3d4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
61        <type>int</type>
62        <definition>int main</definition>
63        <argsstring>()</argsstring>
64        <name>main</name>
65        <briefdescription>
66        </briefdescription>
67        <detaileddescription>
68        </detaileddescription>
69        <inbodydescription>
70        </inbodydescription>
71        <location file="/home/smidl/work/git/mixpp/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp" line="9" bodyfile="/home/smidl/work/git/mixpp/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp" bodystart="9" bodyend="9"/>
72      </memberdef>
73      </sectiondef>
74    <briefdescription>
75    </briefdescription>
76    <detaileddescription>
77    </detaileddescription>
78    <programlisting>
79<codeline lineno="1"><highlight class="comment">/*<sp/>This<sp/>source<sp/>file<sp/>must<sp/>have<sp/>a<sp/>.cpp<sp/>extension<sp/>so<sp/>that<sp/>all<sp/>C++<sp/>compilers</highlight></codeline>
80<codeline lineno="2"><highlight class="comment"><sp/><sp/><sp/>recognize<sp/>the<sp/>extension<sp/>without<sp/>flags.<sp/><sp/>Borland<sp/>does<sp/>not<sp/>know<sp/>.cxx<sp/>for</highlight></codeline>
81<codeline lineno="3"><highlight class="comment"><sp/><sp/><sp/>example.<sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
82<codeline lineno="4"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>__cplusplus</highlight></codeline>
83<codeline lineno="5"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>error<sp/>&quot;A<sp/>C<sp/>compiler<sp/>has<sp/>been<sp/>selected<sp/>for<sp/>C++.&quot;</highlight></codeline>
84<codeline lineno="6"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
85<codeline lineno="7"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
86<codeline lineno="8"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>Provide<sp/>main()<sp/>so<sp/>the<sp/>program<sp/>can<sp/>link.<sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
87<codeline lineno="9"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="sim__var_8cpp_1e66f6b31b5ad750f1fe042a706a4e3d4" kindref="member" tooltip="Extended Kalman filter with unknown Q.">main</ref>()<sp/>{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>0;<sp/>}</highlight></codeline>
88<codeline lineno="10"><highlight class="normal"></highlight></codeline>
89<codeline lineno="11"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>defined(__COMO__)</highlight></codeline>
90<codeline lineno="12"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>COMPILER_ID<sp/>&quot;Comeau&quot;</highlight></codeline>
91<codeline lineno="13"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
92<codeline lineno="14"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__INTEL_COMPILER)<sp/>||<sp/>defined(__ICC)</highlight></codeline>
93<codeline lineno="15"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>COMPILER_ID<sp/>&quot;Intel&quot;</highlight></codeline>
94<codeline lineno="16"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
95<codeline lineno="17"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__BORLANDC__)</highlight></codeline>
96<codeline lineno="18"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>COMPILER_ID<sp/>&quot;Borland&quot;</highlight></codeline>
97<codeline lineno="19"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
98<codeline lineno="20"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__WATCOMC__)</highlight></codeline>
99<codeline lineno="21"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>COMPILER_ID<sp/>&quot;Watcom&quot;</highlight></codeline>
100<codeline lineno="22"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
101<codeline lineno="23"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__SUNPRO_CC)</highlight></codeline>
102<codeline lineno="24"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>COMPILER_ID<sp/>&quot;SunPro&quot;</highlight></codeline>
103<codeline lineno="25"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
104<codeline lineno="26"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__HP_aCC)</highlight></codeline>
105<codeline lineno="27"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>COMPILER_ID<sp/>&quot;HP&quot;</highlight></codeline>
106<codeline lineno="28"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
107<codeline lineno="29"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__DECCXX)</highlight></codeline>
108<codeline lineno="30"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>COMPILER_ID<sp/>&quot;Compaq&quot;</highlight></codeline>
109<codeline lineno="31"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
110<codeline lineno="32"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__IBMCPP__)</highlight></codeline>
111<codeline lineno="33"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>COMPILER_ID<sp/>&quot;VisualAge&quot;</highlight></codeline>
112<codeline lineno="34"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
113<codeline lineno="35"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__PGI)</highlight></codeline>
114<codeline lineno="36"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>COMPILER_ID<sp/>&quot;PGI&quot;</highlight></codeline>
115<codeline lineno="37"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
116<codeline lineno="38"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__GNUC__)</highlight></codeline>
117<codeline lineno="39"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>COMPILER_ID<sp/>&quot;GNU&quot;</highlight></codeline>
118<codeline lineno="40"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
119<codeline lineno="41"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(_MSC_VER)</highlight></codeline>
120<codeline lineno="42"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>COMPILER_ID<sp/>&quot;MSVC&quot;</highlight></codeline>
121<codeline lineno="43"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
122<codeline lineno="44"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__ADSPBLACKFIN__)<sp/>||<sp/>defined(__ADSPTS__)<sp/>||<sp/>defined(__ADSP21000__)</highlight></codeline>
123<codeline lineno="45"><highlight class="preprocessor"></highlight><highlight class="comment">/*<sp/>Analog<sp/>Devices<sp/>C++<sp/>compiler<sp/>for<sp/>Blackfin,<sp/>TigerSHARC<sp/>and</highlight></codeline>
124<codeline lineno="46"><highlight class="comment"><sp/><sp/><sp/>SHARC<sp/>(21000)<sp/>DSPs<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
125<codeline lineno="47"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/>define<sp/>COMPILER_ID<sp/>&quot;ADSP&quot;</highlight></codeline>
126<codeline lineno="48"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
127<codeline lineno="49"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(_COMPILER_VERSION)</highlight></codeline>
128<codeline lineno="50"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>COMPILER_ID<sp/>&quot;MIPSpro&quot;</highlight></codeline>
129<codeline lineno="51"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
130<codeline lineno="52"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>This<sp/>compiler<sp/>is<sp/>either<sp/>not<sp/>known<sp/>or<sp/>is<sp/>too<sp/>old<sp/>to<sp/>define<sp/>an</highlight></codeline>
131<codeline lineno="53"><highlight class="comment"><sp/><sp/><sp/>identification<sp/>macro.<sp/><sp/>Try<sp/>to<sp/>identify<sp/>the<sp/>platform<sp/>and<sp/>guess<sp/>that</highlight></codeline>
132<codeline lineno="54"><highlight class="comment"><sp/><sp/><sp/>it<sp/>is<sp/>the<sp/>native<sp/>compiler.<sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
133<codeline lineno="55"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__sgi)</highlight></codeline>
134<codeline lineno="56"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>COMPILER_ID<sp/>&quot;MIPSpro&quot;</highlight></codeline>
135<codeline lineno="57"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
136<codeline lineno="58"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__hpux)<sp/>||<sp/>defined(__hpua)</highlight></codeline>
137<codeline lineno="59"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>COMPILER_ID<sp/>&quot;HP&quot;</highlight></codeline>
138<codeline lineno="60"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
139<codeline lineno="61"><highlight class="normal"></highlight><highlight class="preprocessor">#else<sp/></highlight><highlight class="comment">/*<sp/>unknown<sp/>compiler<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
140<codeline lineno="62"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/>define<sp/>COMPILER_ID<sp/>&quot;&quot;</highlight></codeline>
141<codeline lineno="63"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
142<codeline lineno="64"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
143<codeline lineno="65"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
144<codeline lineno="66"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>Construct<sp/>the<sp/>string<sp/>literal<sp/>in<sp/>pieces<sp/>to<sp/>prevent<sp/>the<sp/>source<sp/>from</highlight></codeline>
145<codeline lineno="67"><highlight class="comment"><sp/><sp/><sp/>getting<sp/>matched.<sp/><sp/>Store<sp/>it<sp/>in<sp/>a<sp/>pointer<sp/>rather<sp/>than<sp/>an<sp/>array</highlight></codeline>
146<codeline lineno="68"><highlight class="comment"><sp/><sp/><sp/>because<sp/>some<sp/>compilers<sp/>will<sp/>just<sp/>produce<sp/>instructions<sp/>to<sp/>fill<sp/>the</highlight></codeline>
147<codeline lineno="69"><highlight class="comment"><sp/><sp/><sp/>array<sp/>rather<sp/>than<sp/>assigning<sp/>a<sp/>pointer<sp/>to<sp/>a<sp/>static<sp/>array.<sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
148<codeline lineno="70"><highlight class="normal"></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>info_compiler<sp/>=<sp/></highlight><highlight class="stringliteral">&quot;INFO&quot;</highlight><highlight class="normal"><sp/></highlight><highlight class="stringliteral">&quot;:&quot;</highlight><highlight class="normal"><sp/></highlight><highlight class="stringliteral">&quot;compiler[&quot;</highlight><highlight class="normal"><sp/>COMPILER_ID<sp/></highlight><highlight class="stringliteral">&quot;]&quot;</highlight><highlight class="normal">;</highlight></codeline>
149<codeline lineno="71"><highlight class="normal"></highlight></codeline>
150<codeline lineno="72"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>Identify<sp/>known<sp/>platforms<sp/>by<sp/>name.<sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
151<codeline lineno="73"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>defined(__linux)<sp/>||<sp/>defined(__linux__)<sp/>||<sp/>defined(linux)</highlight></codeline>
152<codeline lineno="74"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;Linux&quot;</highlight></codeline>
153<codeline lineno="75"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
154<codeline lineno="76"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__CYGWIN__)</highlight></codeline>
155<codeline lineno="77"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;Cygwin&quot;</highlight></codeline>
156<codeline lineno="78"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
157<codeline lineno="79"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__MINGW32__)</highlight></codeline>
158<codeline lineno="80"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;MinGW&quot;</highlight></codeline>
159<codeline lineno="81"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
160<codeline lineno="82"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__APPLE__)</highlight></codeline>
161<codeline lineno="83"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;Darwin&quot;</highlight></codeline>
162<codeline lineno="84"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
163<codeline lineno="85"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(_WIN32)<sp/>||<sp/>defined(__WIN32__)<sp/>||<sp/>defined(WIN32)</highlight></codeline>
164<codeline lineno="86"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;Windows&quot;</highlight></codeline>
165<codeline lineno="87"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
166<codeline lineno="88"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__FreeBSD__)<sp/>||<sp/>defined(__FreeBSD)</highlight></codeline>
167<codeline lineno="89"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;FreeBSD&quot;</highlight></codeline>
168<codeline lineno="90"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
169<codeline lineno="91"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__NetBSD__)<sp/>||<sp/>defined(__NetBSD)</highlight></codeline>
170<codeline lineno="92"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;NetBSD&quot;</highlight></codeline>
171<codeline lineno="93"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
172<codeline lineno="94"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__OpenBSD__)<sp/>||<sp/>defined(__OPENBSD)</highlight></codeline>
173<codeline lineno="95"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;OpenBSD&quot;</highlight></codeline>
174<codeline lineno="96"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
175<codeline lineno="97"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__sun)<sp/>||<sp/>defined(sun)</highlight></codeline>
176<codeline lineno="98"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;SunOS&quot;</highlight></codeline>
177<codeline lineno="99"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
178<codeline lineno="100"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(_AIX)<sp/>||<sp/>defined(__AIX)<sp/>||<sp/>defined(__AIX__)<sp/>||<sp/>defined(__aix)<sp/>||<sp/>defined(__aix__)</highlight></codeline>
179<codeline lineno="101"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;AIX&quot;</highlight></codeline>
180<codeline lineno="102"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
181<codeline lineno="103"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__sgi)<sp/>||<sp/>defined(__sgi__)<sp/>||<sp/>defined(_SGI)</highlight></codeline>
182<codeline lineno="104"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;IRIX&quot;</highlight></codeline>
183<codeline lineno="105"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
184<codeline lineno="106"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__hpux)<sp/>||<sp/>defined(__hpux__)</highlight></codeline>
185<codeline lineno="107"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;HP-UX&quot;</highlight></codeline>
186<codeline lineno="108"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
187<codeline lineno="109"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__BeOS)<sp/>||<sp/>defined(__BEOS__)<sp/>||<sp/>defined(_BEOS)</highlight></codeline>
188<codeline lineno="110"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;BeOS&quot;</highlight></codeline>
189<codeline lineno="111"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
190<codeline lineno="112"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__QNX__)<sp/>||<sp/>defined(__QNXNTO__)</highlight></codeline>
191<codeline lineno="113"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;QNX&quot;</highlight></codeline>
192<codeline lineno="114"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
193<codeline lineno="115"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__tru64)<sp/>||<sp/>defined(_tru64)<sp/>||<sp/>defined(__TRU64__)</highlight></codeline>
194<codeline lineno="116"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;Tru64&quot;</highlight></codeline>
195<codeline lineno="117"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
196<codeline lineno="118"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__riscos)<sp/>||<sp/>defined(__riscos__)</highlight></codeline>
197<codeline lineno="119"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;RISCos&quot;</highlight></codeline>
198<codeline lineno="120"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
199<codeline lineno="121"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__sinix)<sp/>||<sp/>defined(__sinix__)<sp/>||<sp/>defined(__SINIX__)</highlight></codeline>
200<codeline lineno="122"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;SINIX&quot;</highlight></codeline>
201<codeline lineno="123"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
202<codeline lineno="124"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__UNIX_SV__)</highlight></codeline>
203<codeline lineno="125"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;UNIX_SV&quot;</highlight></codeline>
204<codeline lineno="126"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
205<codeline lineno="127"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__bsdos__)</highlight></codeline>
206<codeline lineno="128"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;BSDOS&quot;</highlight></codeline>
207<codeline lineno="129"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
208<codeline lineno="130"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(_MPRAS)<sp/>||<sp/>defined(MPRAS)</highlight></codeline>
209<codeline lineno="131"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;MP-RAS&quot;</highlight></codeline>
210<codeline lineno="132"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
211<codeline lineno="133"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__osf)<sp/>||<sp/>defined(__osf__)</highlight></codeline>
212<codeline lineno="134"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;OSF1&quot;</highlight></codeline>
213<codeline lineno="135"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
214<codeline lineno="136"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(_SCO_SV)<sp/>||<sp/>defined(SCO_SV)<sp/>||<sp/>defined(sco_sv)</highlight></codeline>
215<codeline lineno="137"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;SCO_SV&quot;</highlight></codeline>
216<codeline lineno="138"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
217<codeline lineno="139"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__ultrix)<sp/>||<sp/>defined(__ultrix__)<sp/>||<sp/>defined(_ULTRIX)</highlight></codeline>
218<codeline lineno="140"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;ULTRIX&quot;</highlight></codeline>
219<codeline lineno="141"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
220<codeline lineno="142"><highlight class="normal"></highlight><highlight class="preprocessor">#elif<sp/>defined(__XENIX__)<sp/>||<sp/>defined(_XENIX)<sp/>||<sp/>defined(XENIX)</highlight></codeline>
221<codeline lineno="143"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;Xenix&quot;</highlight></codeline>
222<codeline lineno="144"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
223<codeline lineno="145"><highlight class="normal"></highlight><highlight class="preprocessor">#else<sp/></highlight><highlight class="comment">/*<sp/>unknown<sp/>platform<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
224<codeline lineno="146"><highlight class="normal"></highlight><highlight class="preprocessor">#<sp/>define<sp/>PLATFORM_ID<sp/>&quot;&quot;</highlight></codeline>
225<codeline lineno="147"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
226<codeline lineno="148"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
227<codeline lineno="149"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
228<codeline lineno="150"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>Construct<sp/>the<sp/>string<sp/>literal<sp/>in<sp/>pieces<sp/>to<sp/>prevent<sp/>the<sp/>source<sp/>from</highlight></codeline>
229<codeline lineno="151"><highlight class="comment"><sp/><sp/><sp/>getting<sp/>matched.<sp/><sp/>Store<sp/>it<sp/>in<sp/>a<sp/>pointer<sp/>rather<sp/>than<sp/>an<sp/>array</highlight></codeline>
230<codeline lineno="152"><highlight class="comment"><sp/><sp/><sp/>because<sp/>some<sp/>compilers<sp/>will<sp/>just<sp/>produce<sp/>instructions<sp/>to<sp/>fill<sp/>the</highlight></codeline>
231<codeline lineno="153"><highlight class="comment"><sp/><sp/><sp/>array<sp/>rather<sp/>than<sp/>assigning<sp/>a<sp/>pointer<sp/>to<sp/>a<sp/>static<sp/>array.<sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
232<codeline lineno="154"><highlight class="normal"></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>info_platform<sp/>=<sp/></highlight><highlight class="stringliteral">&quot;INFO&quot;</highlight><highlight class="normal"><sp/></highlight><highlight class="stringliteral">&quot;:&quot;</highlight><highlight class="normal"><sp/></highlight><highlight class="stringliteral">&quot;platform[&quot;</highlight><highlight class="normal"><sp/>PLATFORM_ID<sp/></highlight><highlight class="stringliteral">&quot;]&quot;</highlight><highlight class="normal">;</highlight></codeline>
233<codeline lineno="155"><highlight class="normal"></highlight></codeline>
234    </programlisting>
235    <location file="/home/smidl/work/git/mixpp/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp"/>
236  </compounddef>
237</doxygen>
Note: See TracBrowser for help on using the browser.