Update fix (missing pragma gcc diagnostic push)

Update fix (missing pragma gcc diagnostic push)
This commit is contained in:
tsupplis 2020-01-21 19:45:20 +00:00 committed by GitHub
parent 1daac3a5f4
commit b66abd47b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -459,6 +459,7 @@ STATIC void emit_native_end_pass(emit_t *emit) {
type_sig |= (emit->local_vtype[i] & 0xf) << (i * 4 + 4);
}
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wcast-align"
mp_emit_glue_assign_native(emit->scope->raw_code,
emit->do_viper_types ? MP_CODE_NATIVE_VIPER : MP_CODE_NATIVE_PY,