Skip to content

Commit 154124f

Browse files
authored
Merge pull request #2541 from tsupplis/master
Update fix (missing pragma gcc diagnostic push)
2 parents f99157b + b66abd4 commit 154124f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

py/emitnative.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ STATIC void emit_native_end_pass(emit_t *emit) {
459459
type_sig |= (emit->local_vtype[i] & 0xf) << (i * 4 + 4);
460460
}
461461

462+
#pragma GCC diagnostic push
462463
#pragma GCC diagnostic ignored "-Wcast-align"
463464
mp_emit_glue_assign_native(emit->scope->raw_code,
464465
emit->do_viper_types ? MP_CODE_NATIVE_VIPER : MP_CODE_NATIVE_PY,

0 commit comments

Comments
 (0)