Changes between Version 1 and Version 2 of BuildWarnings

Show
Ignore:
Timestamp:
03/23/09 14:05:06 (13 years ago)
Author:
Infinoid
Comment:

Add the warnings I regularly see (and ignore).

Legend:

Unmodified
Added
Removed
Modified
  • BuildWarnings

    v1 v2  
    22 
    33 
     4The following warnings appear for me (Infinoid) on x86-64 gentoo linux, but are caused by system headers and thus are not Parrot's fault: 
     5{{{ 
     6src/thread.c: In function 'pt_thread_join': 
     7src/thread.c:1381: warning: suggest braces around empty body in 'do' statement 
     8./gdbmhash.pmc: In function 'Parrot_GDBMHash_get_string_keyed': 
     9./gdbmhash.pmc:238: warning: function call has aggregate value 
     10./gdbmhash.pmc: In function 'Parrot_GDBMHash_get_bool': 
     11./gdbmhash.pmc:176: warning: function call has aggregate value 
     12./gdbmhash.pmc: In function 'Parrot_GDBMHash_get_integer': 
     13./gdbmhash.pmc:150: warning: function call has aggregate value 
     14./gdbmhash.pmc:152: warning: function call has aggregate value 
     15}}} 
     16 
     17The following warnings are in IMCC, and have never gotten much attention because IMCC will eventually be deprecated: 
     18{{{ 
     19compilers/imcc/imcparser.c: In function 'yyparse': 
     20compilers/imcc/imcparser.c:2848: warning: statement with no effect 
     21compilers/imcc/imcparser.c:4938: warning: logical '&&' with non-zero constant wi 
     22ll always evaluate as true 
     23compilers/imcc/imcparser.c:4941: warning: statement with no effect 
     24compilers/imcc/imcparser.c:5098: warning: statement with no effect 
     25compilers/imcc/imcparser.c:5102: warning: statement with no effect 
     26compilers/imcc/imclexer.c: In function 'yy_get_next_buffer': 
     27compilers/imcc/imclexer.c:4165: warning: comparison between signed and unsigned 
     28}}} 
     29 
     30The following warning is also in IMCC, but is really caused by headerizer not understanding #if blocks: 
     31{{{ 
     32compilers/imcc/pbc.c:181: warning: 'old_blocks' declared 'static' but never defined 
     33}}}