Skip to content

Commit b66abd4

Browse files
authored
Update fix (missing pragma gcc diagnostic push)
Update fix (missing pragma gcc diagnostic push)
1 parent 1daac3a commit b66abd4

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)