cenum ofp_port_no {
OFPP_ANY = 0xffffffff
} as int32_t
fails with an error: Integer literal exceeds the range of representable integers of type int32
The fix is to stop treating the constr_fields parsing as an INT in syntax/pa_cstruct.ml, which is where the literal restriction comes from. This bug won't happen on 64-bit hosts.
@arjunguha reports by email that
fails with an error:
Integer literal exceeds the range of representable integers of type int32
The fix is to stop treating the
constr_fields
parsing as anINT
insyntax/pa_cstruct.ml
, which is where the literal restriction comes from. This bug won't happen on 64-bit hosts.