Skip to content

Instantly share code, notes, and snippets.

@jnthn

jnthn/warnings Secret

Created December 19, 2019 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnthn/d2c700e9d1922130797b92a2e5a9bed3 to your computer and use it in GitHub Desktop.
Save jnthn/d2c700e9d1922130797b92a2e5a9bed3 to your computer and use it in GitHub Desktop.
src/core/threads.c: In function ‘MVM_thread_cleanup_threads_list’:
src/core/threads.c:270:17: warning: empty declaration
MVM_FALLTHROUGH
^
compiling src/jit/dump.o
Precompiling templates from src/jit/core_templates.expr
compiling src/jit/tile.o
compiling src/jit/interface.o
compiling src/jit/linear_scan.o
compiling src/jit/x64/arch.o
preprocessing src/jit/x64/emit.dasc
/usr/bin/perl build/mk-moar-pc.pl pkgconfig/moar.pc
compiling src/strings/unicode.o
src/io/signals.c:119:3: warning: ‘MVM_sig_names’ defined but not used [-Wunused-variable]
} MVM_sig_names;
^
src/spesh/optimize.c: In function ‘optimize_bb_switch’:
src/spesh/optimize.c:2735:13: warning: empty declaration
MVM_FALLTHROUGH
^
src/spesh/optimize.c:2743:13: warning: empty declaration
MVM_FALLTHROUGH
^
src/6model/serialization.c: In function ‘MVM_serialization_read_int’:
src/6model/serialization.c:1662:13: warning: empty declaration
MVM_FALLTHROUGH
^
src/6model/serialization.c:1665:13: warning: empty declaration
MVM_FALLTHROUGH
^
src/6model/serialization.c:1668:13: warning: empty declaration
MVM_FALLTHROUGH
^
src/6model/serialization.c:1671:13: warning: empty declaration
MVM_FALLTHROUGH
^
src/6model/serialization.c:1674:13: warning: empty declaration
MVM_FALLTHROUGH
^
src/6model/serialization.c:1677:13: warning: empty declaration
MVM_FALLTHROUGH
^
src/strings/utf8_c8.c: In function ‘process_bad_bytes’:
src/strings/utf8_c8.c:141:18: warning: ‘*((void *)&encoded+3)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
MVMuint8 low = invalid & 0x0F;
^
src/strings/utf8_c8.c:243:22: note: ‘*((void *)&encoded+3)’ was declared here
MVMuint8 encoded[4];
^
src/strings/utf8_c8.c:141:18: warning: ‘*((void *)&encoded+2)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
MVMuint8 low = invalid & 0x0F;
^
src/strings/utf8_c8.c:243:22: note: ‘*((void *)&encoded+2)’ was declared here
MVMuint8 encoded[4];
^
src/strings/ops.c: In function ‘MVM_string_grapheme_is_cclass’:
src/strings/ops.c:2612:13: warning: empty declaration
MVM_FALLTHROUGH
^
src/strings/ops.c:2621:13: warning: empty declaration
MVM_FALLTHROUGH
^
src/platform/memmem32.c: In function ‘twoway_memmem_uint32’:
src/platform/memmem32.c:152:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (z-h < l) {
^
src/core/interp.c: In function ‘MVM_interp_run’:
src/core/interp.c:174:5: warning: label ‘runloop’ defined but not used [-Wunused-label]
runloop: {
^
src/jit/graph.c: In function ‘consume_reprop’:
src/jit/graph.c:885:17: warning: empty declaration
MVM_FALLTHROUGH
^
src/jit/graph.c:928:17: warning: empty declaration
MVM_FALLTHROUGH
^
src/jit/graph.c:1153:17: warning: empty declaration
MVM_FALLTHROUGH
^
src/jit/graph.c:1185:17: warning: empty declaration
MVM_FALLTHROUGH
^
compiling src/jit/x64/emit.o
src/profiler/configuration.c: In function ‘operand_size’:
src/strings/utf8_c8.c: In function ‘process_ok_codepoint’:
src/strings/utf8_c8.c:141:18: warning: ‘*((void *)&encoded+3)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
MVMuint8 low = invalid & 0x0F;
^
src/strings/utf8_c8.c:243:22: note: ‘*((void *)&encoded+3)’ was declared here
MVMuint8 encoded[4];
^
src/strings/utf8_c8.c:141:18: warning: ‘*((void *)&encoded+2)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
MVMuint8 low = invalid & 0x0F;
^
src/strings/utf8_c8.c:243:22: note: ‘*((void *)&encoded+2)’ was declared here
MVMuint8 encoded[4];
^
src/strings/utf8_c8.c:141:18: warning: ‘*((void *)&encoded+3)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
MVMuint8 low = invalid & 0x0F;
^
src/strings/utf8_c8.c:243:22: note: ‘*((void *)&encoded+3)’ was declared here
MVMuint8 encoded[4];
^
src/strings/utf8_c8.c:141:18: warning: ‘*((void *)&encoded+2)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
MVMuint8 low = invalid & 0x0F;
^
src/strings/utf8_c8.c:243:22: note: ‘*((void *)&encoded+2)’ was declared here
MVMuint8 encoded[4];
^
src/profiler/configuration.c:108:15: warning: ‘size’ may be used uninitialized in this function [-Wmaybe-uninitialized]
MVMuint32 size;
^
src/jit/x64/emit.dasc:5:9: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
^
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]
MVM_string_decodestream_discard_to(tc, ds, last_accept_bytes, last_accept_pos);
^
compiling src/jit/expr.o
src/strings/unicode.c: In function ‘collation_push_cp’:
src/strings/unicode.c:86648:18: warning: ‘cps[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
MVMCodepoint cps[10];
^
src/core/interp.c:142:16: warning: variable ‘backup_interp_cur_op’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
MVMuint8 **backup_interp_cur_op = NULL;
^
src/core/interp.c:143:16: warning: variable ‘backup_interp_bytecode_start’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
MVMuint8 **backup_interp_bytecode_start = NULL;
^
src/core/interp.c:144:19: warning: variable ‘backup_interp_reg_base’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
MVMRegister **backup_interp_reg_base = NULL;
^
src/core/interp.c:145:19: warning: variable ‘backup_interp_cu’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
MVMCompUnit **backup_interp_cu = NULL;
^
linking libmoar.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment