]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - doc.html
Update predefined macros
[xonotic/gmqcc.git] / doc.html
index b5ee86860f9b7726585894d75171a01475a74aa2..793cc83ddbd2dfd866171c526d9cb170c2f06119 100644 (file)
--- a/doc.html
+++ b/doc.html
                         <td>What it represents</td>
                     </tr>
                     <tr>
-                        <td>GMQCC</td>
+                        <td>__STD_GMQCC__</td>
                         <td>Specifies the current selected standard is gmqcc.</td>
                     </tr>
                     <tr>
-                        <td>FTEQCC</td>
+                        <td>__STD_FTEQCC__</td>
                         <td>Specifies the current selected standard is fteqcc.</td>
                     </tr>
                     <tr>
-                        <td>QCC</td>
+                        <td>__STD_QCC__</td>
                         <td>Specifies the current selected standard is qcc.</td>
                     </tr>
-                    
+                    <tr>
+                        <td>GMQCC</td>
+                        <td>Defined always regardless of the selected standard</td>
+                    </tr>
                     <tr>
                         <td>__STD_VERSION_MINOR__</td>
                         <td>Specifies the current selected stanadards minor version number.</td>
                         <td>-fperl-logic</td>
                         <td>Enables perl evalutaion/logic</td>
                     </tr>
+                    <tr>
+                        <td>-ftranslatable-strings</td>
+                        <td>Enables translatable strings via .po file</td>
+                    </tr>
+                    <tr>
+                        <td>-finitialized-nonconstants</td>
+                        <td>Prevents initializations from becoming constant unless 'const' is specified as a qualifer</td>
+                    </tr>
+                    <tr>
+                        <td>-fassign-function-types</td>
+                        <td>Allows function types to be assignable even if their signature is invariant</td>
+                    </tr>
+                    <tr>
+                        <td>-flno</td>
+                        <td>Enables generation of progs.lno for engine VM backtraces</td>
+                    </tr>
                 </table>
                 <h3>Warning options</h3>
                 <table border="0">
                         <td>-Wmultifile-if</td>
                         <td>Enables warnings about multifile if statements</td>
                     </tr>
+                    <tr>
+                        <td>-Wdouble-declaration</td>
+                        <td>Enables warnings about double declarations</td>
+                    </tr>
+                    <tr>
+                        <td>-Wconst-var</td>
+                        <td>Enables warnings about 'const var' and 'var const'</td>
+                    </tr>
+                    <tr>
+                        <td>-Wmultibyte-character</td>
+                        <td>Enables warnings about use of multibyte characters</td>
+                    </tr>
+                    <tr>
+                        <td>-Wternary-precedence</td>
+                        <td>Enables warnings about ternary expressions whos precedence may be not what expected</td>
+                    </tr>
+                </table>
+                <table border="0">
+                    <tr><td>Options</td><td>What it does</td></tr>
+                    <tr>
+                        <td>-Otail-recursion</td>
+                        <td>Enables tail recursion optimization</td>
+                    </tr>
                 </table>
                 <p>
                     Individual warnings may be disabled with &nbsp;-Wno-&lt;warning&gt;
                         <td>-memchk</td>
                         <td>Turns on compiler memory leak checker</td>
                     </tr>
-                    
                     <tr>
                         <td>-Whelp or -W?</td>
                         <td>Lists all warning options</td>
                     </tr>
-                    
                     <tr>
                         <td>-fhelp or -f?</td>
                         <td>Lists all code generation options</td>