| 100 | |
| 101 | |
| 102 | mikehh: latest warnings at r41266, built with g++ (Ubuntu 4.3.3-5ubuntu4) 4.3.3 on Ubuntu 9.04 amd64 |
| 103 | |
| 104 | the only difference with a build at parrot r41265 on Ubuntu 9.04 i386 (also using g++) |
| 105 | is that the first two warnings for src/nci.c do not occur there, the third does |
| 106 | {{{ |
| 107 | from: tools/build/ops2pm.pl |
| 108 | trap 1258 experimental, not in ops.num |
| 109 | |
| 110 | src/ops/core_ops_switch.c:13010: warning: dereferencing type-punned pointer will break strict-aliasing rules |
| 111 | |
| 112 | src/interp/inter_misc.c:210: warning: ‘ret’ may be used uninitialised in this function |
| 113 | |
| 114 | src/nci.c:4597: warning: dereferencing type-punned pointer will break strict-aliasing rules |
| 115 | src/nci.c:5136: warning: dereferencing type-punned pointer will break strict-aliasing rules |
| 116 | src/nci.c:11030: warning: dereferencing type-punned pointer will break strict-aliasing rules |
| 117 | |
| 118 | src/pmc_freeze.c:523: warning: dereferencing type-punned pointer will break strict-aliasing rules |
| 119 | |
| 120 | compilers/imcc/imcparser.c:3092: warning: statement has no effect |
| 121 | compilers/imcc/imcparser.c:5230: warning: statement has no effect |
| 122 | compilers/imcc/imcparser.c:5387: warning: statement has no effect |
| 123 | compilers/imcc/imcparser.c:5391: warning: statement has no effect |
| 124 | compilers/imcc/imcc.y:1360: warning: ignoring return value of ‘Instruction* iSUBROUTINE(parrot_interp_t*, IMC_Unit*, SymReg*)’, declared with attribute warn_unused_result |
| 125 | |
| 126 | compilers/imcc/pbc.c:183: warning: ‘int old_blocks(parrot_interp_t*)’ declared ‘static’ but never defined |
| 127 | |
| 128 | src/nci_test.c:138: warning: ‘int_cb_D4’ initialised and declared ‘extern’ |
| 129 | src/nci_test.c:139: warning: ‘nci_dlvar_char’ initialised and declared ‘extern’ |
| 130 | src/nci_test.c:140: warning: ‘nci_dlvar_short’ initialised and declared ‘extern’ |
| 131 | src/nci_test.c:141: warning: ‘nci_dlvar_int’ initialised and declared ‘extern’ |
| 132 | src/nci_test.c:142: warning: ‘nci_dlvar_long’ initialised and declared ‘extern’ |
| 133 | src/nci_test.c:143: warning: ‘nci_dlvar_float’ initialised and declared ‘extern’ |
| 134 | src/nci_test.c:144: warning: ‘nci_dlvar_double’ initialised and declared ‘extern’ |
| 135 | src/nci_test.c:145: warning: ‘nci_dlvar_cstring’ initialised and declared ‘extern’ |
| 136 | |
| 137 | ./gdbmhash.pmc:255: warning: function call has aggregate value |
| 138 | ./gdbmhash.pmc:190: warning: function call has aggregate value |
| 139 | ./gdbmhash.pmc:164: warning: function call has aggregate value |
| 140 | ./gdbmhash.pmc:166: warning: function call has aggregate value |
| 141 | |
| 142 | obscure_ops_switch.c:128: warning: dereferencing type-punned pointer will break strict-aliasing rules |
| 143 | |
| 144 | math_ops_switch.c:128: warning: dereferencing type-punned pointer will break strict-aliasing rules |
| 145 | }}} |