Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Last active June 18, 2019 20:14
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 MasterDuke17/70825b724df7501b8b82737e02a3fcc3 to your computer and use it in GitHub Desktop.
Save MasterDuke17/70825b724df7501b8b82737e02a3fcc3 to your computer and use it in GitHub Desktop.
src/profiler/configuration.c: In function ‘validate_op’:
src/profiler/configuration.c:273:81: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘MVMuint64’ {aka ‘long unsigned int’} [-Wformat=]
MVM_exception_throw_adhoc(tc, "STRUCT_SELECT string length %d (index %d) NYI or something", string_length, string_idx);
~^ ~~~~~~~~~~~~~
%ld
src/profiler/configuration.c:345:107: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘MVMuint64’ {aka ‘long unsigned int’} [-Wformat=]
MVM_exception_throw_adhoc(tc, "STRUCT_SELECT is MVMStaticFrame, no field with length %d (string heap index %d) implemented", string_length, string_idx);
~^ ~~~~~~~~~~~~~
%ld
src/profiler/configuration.c:357:108: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘MVMuint64’ {aka ‘long unsigned int’} [-Wformat=]
MVM_exception_throw_adhoc(tc, "STRUCT_SELECT is MVMCompUnit, no field with length %d (string heap index %d) implemented", string_length, string_idx);
~^ ~~~~~~~~~~~~~
%ld
src/profiler/configuration.c:382:100: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long int’ [-Wformat=]
MVM_exception_throw_adhoc(tc, "Invalid opcode detected in confprog: %d at position 0x%x",
~^
%lx
opcode, state->bc_pointer - state->bytecode_root);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/profiler/configuration.c: In function ‘stats_position_for_value’:
src/profiler/configuration.c:467:85: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘MVMuint64’ {aka ‘long unsigned int’} [-Wformat=]
MVM_exception_throw_adhoc(tc, "Can't get stats for out-of-bounds value %d for dynamic profiler entrypoint", return_value);
~^ ~~~~~~~~~~~~
%ld
src/profiler/configuration.c:472:85: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘MVMuint64’ {aka ‘long unsigned int’} [-Wformat=]
MVM_exception_throw_adhoc(tc, "Can't get stats for out-of-bounds value %d for heapsnapshot entrypoint", return_value);
~^ ~~~~~~~~~~~~
%ld
src/profiler/configuration.c: In function ‘MVM_confprog_install’:
src/profiler/configuration.c:505:124: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘MVMuint64’ {aka ‘long unsigned int’} [-Wformat=]
MVM_exception_throw_adhoc(tc, "installconfprog expected bytecode array to be a multiple of 2 bytes big (got a %d)",
~^
%ld
bytecode_size);
~~~~~~~~~~~~~
src/profiler/configuration.c:510:90: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘MVMuint64’ {aka ‘long unsigned int’} [-Wformat=]
MVM_exception_throw_adhoc(tc, "confprog too big. maximum 4096, this one has %d", bytecode_size);
~^ ~~~~~~~~~~~~~
%ld
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment