Branch: Tag:

2019-03-18

2019-03-18 22:27:31 by Tobias S. Josefowitz <tobij@tobij.de>

Compiler: Silence compiler warnings

GCC 8 got more picky about function pointer signatures, but there is
really no need to let those warnings bother us.

75:    (SET_PROG_COUNTER(PROG_COUNTER + JUMP_EPILOGUE_SIZE + sizeof(INT32)))       - #define ins_pointer(PTR) ins_int((PTR), (void (*)(char))add_to_program) + #define ins_pointer(PTR) ins_int((PTR), add_to_program)   #define read_pointer(OFF) read_int(OFF)   #define upd_pointer(OFF, PTR) upd_int(OFF, PTR)   #define ins_align(ALIGN) do { \
84:    } \    } while(0)   #define ins_byte(VAL) add_to_program(VAL) - #define ins_data(VAL) ins_int((VAL), (void (*)(char))add_to_program) + #define ins_data(VAL) ins_int((VAL), add_to_program)   #define read_program_data(PTR, OFF) (INT32)get_unaligned32((PTR) + (sizeof(INT32)*(OFF)))      void amd64_update_pc(void);