[SEVERE] : The integer type used for enums is implementation-defined. FFIgen tries to mimic the integer sizes chosen by the most common compilers for the various OS and architecture combinations. To prevent any crashes, remove the enums from your API surface. To rely on the (unsafe!) mimicking, you can silence this warning by adding silence-enum-warning: true to the FFIgen config. Affected enums:
dc_direction_t
dc_event_type_t
dc_family_t
Tried fixing it with
type-map:
'native-types':
'enum':
'lib': 'pkg_ffi'
'c-type': 'Int32' or 'enum'
'dart-type': 'int'
But get the same Warning:
[SEVERE] : The integer type used for enums is implementation-defined. FFIgen tries to mimic the integer sizes chosen by the most common compilers for the various OS and architecture combinations. To prevent any crashes, remove the enums from your API surface. To rely on the (unsafe!) mimicking, you can silence this warning by adding silence-enum-warning: true to the FFIgen config. Affected enums:
dc_direction_t
dc_event_type_t
I get the follwoing warning.
Tried fixing it with
But get the same Warning: