Hello,
I'm getting many of this warning in my project which uses NXP header
with enum definitions similat to this:
typedef enum _clock_attach_id
{
kFRO12M_to_MAIN_CLK = MUX_A(CM_MAINCLKSELA, 0) | MUX_B(CM_MAINCLKSELB, 0),
kNONE_to_NONE = 0x80000000UL,
} clock_attach_id_t;
The warning seems to be obvious because 0x80000000UL does not fit
into int.
But the compiler manual v5.06 for µVision says about
enum:
10.4 Structures, unions, enumeratons an
↧