Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created December 1, 2019 13:32
Show Gist options
  • Save MasterDuke17/71f16363562f1af4200a047c94a0051b to your computer and use it in GitHub Desktop.
Save MasterDuke17/71f16363562f1af4200a047c94a0051b to your computer and use it in GitHub Desktop.
src/core/bytecodedump.c: In function ‘MVM_dump_bytecode_stackframe’:
src/core/bytecodedump.c:557:49: warning: comparison of integer expressions of different signedness: ‘MVMint32’ {aka ‘int’} and ‘MVMuint32’ {aka ‘unsigned int’} [-Wsign-compare]
557 | for (spesh_cand_idx = 0; spesh_cand_idx < spesh->body.num_spesh_candidates; spesh_cand_idx++) {
| ^
src/core/interp.c: In function ‘MVM_interp_run’:
src/core/interp.c:161:5: warning: label ‘runloop’ defined but not used [-Wunused-label]
161 | runloop: {
| ^~~~~~~
src/6model/reprs/P6opaque.c: In function ‘dump_p6opaque’:
src/6model/reprs/P6opaque.c:1967:31: warning: comparison of integer expressions of different signedness: ‘MVMint16’ {aka ‘short int’} and ‘MVMuint32’ {aka ‘unsigned int’} [-Wsign-compare]
1967 | for (i = 0; i < cur_map_entry->num_attrs; i++) {
| ^
src/strings/utf8.c: In function ‘MVM_string_utf8_decodestream’:
src/strings/utf8.c:547:5: warning: ‘lag_last_accept_pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
547 | MVM_string_decodestream_discard_to(tc, ds, last_accept_bytes, last_accept_pos);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/profiler/telemeh.c: In function ‘MVM_telemetry_init’:
src/profiler/telemeh.c:317:74: warning: cast between incompatible function types from ‘void * (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
317 | threadCreateError = uv_thread_create(&backgroundSerializationThread, (uv_thread_cb)backgroundSerialization, (void *)outfile);
| ^
src/platform/memmem32.c: In function ‘twoway_memmem_uint32’:
src/platform/memmem32.c:152:11: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
152 | if (z-h < l) {
| ^
src/profiler/heapsnapshot.c: In function ‘serialize_attribute_stream’:
src/profiler/heapsnapshot.c:895:9: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
895 | strncpy(namebuf, name, 8);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment