Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Some that I've seen that are used;</p> <blockquote> <p><code>-Wcast-qual</code>: Warn whenever a pointer is cast so as to remove a type qualifier from the target type. For example, warn if a <code>const char *</code> is cast to an ordinary <code>char *</code>.</p> <p><code>-Wpointer-arith</code>: Warn about anything that depends on the size of a function type or of <code>void</code>. GNU C assigns these types a size of 1, for convenience in calculations with <code>void *</code> pointers and pointers to functions.</p> <p><code>-Wwrite-strings</code>: When compiling C, give string constants the type <code>const char[length]</code> so that copying the address of one into a non-<code>const</code> <code>char *</code> pointer will get a warning; when compiling C++, warn about the deprecated conversion from string literals to <code>char *</code>. This warning, by default, is enabled for C++ programs. These warnings will help you find at compile time code that can try to write into a string constant, but only if you have been very careful about using <code>const</code> in declarations and prototypes. Otherwise, it will just be a nuisance; this is why we did not make -Wall request these warnings.</p> <p><code>-Wdisabled-optimization</code>: Warn if a requested optimization pass is disabled. This warning does not generally indicate that there is anything wrong with your code; it merely indicates that GCC's optimizers were unable to handle the code effectively. Often, the problem is that your code is too big or too complex; GCC will refuse to optimize programs when the optimization itself is likely to take inordinate amounts of time.</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload