如果你LCD_Contrast_3V0是个枚举类型的话,可以使用强制类型转换,这样就可以避免警告了类似如下 GPIO_Init(LED_PORT, (GPIO_Pin_TypeDef)(LED_RUNNING_PIN|LED_ERROR_PIN), GPIO_MODE_OUT_PP_HIGH_FAST );LCD_Contrast_3V0是不是枚举类型,需要加上结构体前缀,写成:结构体名.LCD_Contrast_3V0
/Warning[Pe188]: enumerated type mixed with another type C:\Documents and Settings\Administrator\...
Q:Warning[Pe188]: enumerated type mixed with another type D:\Program Files\Texas Instruments\ZStack-1.4.3\Projects\zstack\Samples\SampleApp\Source\SampleApp.c 206 A: SampleApp_Periodic_DstAddr.addrMode = Addr16Bit;//(afAddrMode_t)afAddrGroup; typedef enum { afAddrNotPresent = AddrNotPresent...
10 Q:Warning[Pe188]: enumerated type mixed with another type D:\Program Files\Texas Instruments\ZStack-1.4.3\Projects\zstack\Samples\SampleApp\Source\SampleApp.c 206 A: SampleApp_Periodic_DstAddr.addrMode = Addr16Bit;//(afAddrMode_t)afAddrGroup; typedef enum { afAddrNotPresent = AddrNotPr...
enumerated type mixed with another type D:\Program Files\Texas Instruments\ZStack-1.4.3\Projects\zstack\Samples\SampleApp\Source\SampleApp.c 206 A: SampleApp_Periodic_DstAddr.addrMode = Addr16Bit;//(afAddrMode_t)afAddrGroup; typedef enum ...
enumerated type mixed with another type D:\Program Files\Texas Instruments\ZStack-1.4.3\Projects\zstack\Samples\SampleApp\Source\SampleApp.c 206 A: SampleApp_Periodic_DstAddr.addrMode = Addr16Bit;//(afAddrMode_t)afAddrGroup; typedef enum ...
???enumerated type mixed with another type D:\Program Files\Texas Instruments\ZStack-1.4.3\Projects\zstack\Samples\SampleApp\Source\SampleApp.c 206 A: SampleApp_Periodic_DstAddr.addrMode = Addr16Bit;//(afAddrMode_t)afAddrGroup; typedef enum { afAddrNotPresent = AddrNotPresent, afAddr16Bit...
IAR软件应用中的错误提示及解决方法 1、Q:Error[e16]: Segment XDATA_Z (size: 0x19a1 align: 0) is too long for seg ment definition. At least 0xe4c more bytes needed. The problem occurre d while processing the segment placement command "-Z(XDATA)XDATA_ N,XDATA_Z,XDATA_I=_XDATA_START-...
Warning[Pe188]: enumerated type mixed with another type D:\Program Files\Texas Instruments\ZStack-1.4.3\Projects\zstack\Samples\SampleApp\Source\SampleApp.c 206 A: SampleApp_Periodic_DstAddr.addrMode = Addr16Bit;//(afAddrMode_t)afAddrGroup; ...
with same type) Compile [ 0.8%]: UsefulBuf.c Compile [ 1.0%]: half_to_double_from_rfc7049.c Compile [ 1.1%]: ieee754.c Compile [ 1.2%]: tfm_ns_lock_rtx.c Compile [ 1.3%]: qcbor_encode.c [Warning] qcbor_encode.c@564,0: [Pe188]: enumerated type mixed with another type ...