FSL_ADC.H compilation error in C++ project

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FSL_ADC.H compilation error in C++ project

1,097件の閲覧回数
hotchk155
Contributor I

There seems to be a bug in fsl_adc.h (Using SDK_2.x_MKE04Z128xxx4 v2.5.0)

extern C block at at line 156 is never closed.. 

#if defined(__cplusplus)
extern "C" {
#endif

when including in a C++ project missing close brace errors reported. I think a close block is required in the header at end of file - i.e. 

#if defined(__cplusplus)
}
#endif

#endif /* _FSL_ADC_H_ */

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

1,044件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Jason:

Thank you very much for your feedback. This is an issue in SDK_2.5_MKE04Z.   This issue was fixed in SDK 2.6.

I would suggest download the latest SDK. 2.6 from Welcome | MCUXpresso SDK Builder 

Regards

Daniel

0 件の賞賛
返信