Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: compiler warnung #66-D: enumeration value is out of "int" range (6 Replies)

$
0
0
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

Viewing all articles
Browse latest Browse all 3049

Trending Articles