error: #147-D: declaration is incompatible with "uint32_t __REV16(uint16_t)" (declared at line 838 of "..\CORE\core_cm3.h")
时间: 2024-04-23 19:28:59 浏览: 323
引用\[1\]中的错误信息是指在编译过程中出现了不兼容的声明错误。具体来说,这个错误是在第3行声明的"u16 EN_ADDRESS"与其他地方的声明不兼容导致的。引用\[2\]中的错误信息也是类似的,指出在第32行的声明与在".. \ HARDWARE \ Framework \ framework.h"文件的第19行的声明不兼容。引用\[3\]中的错误信息也是相同的,指出在第10行的声明与在".\Rtthread\3.0.3\include\rtthread.h"文件的第95行的声明不兼容。
问题中提到的错误是指在第838行的声明与其他地方的声明不兼容。具体来说,这个错误是在声明"uint32_t __REV16(uint16_t)"时出现的。
#### 引用[.reference_title]
- *1* [解决“error #147 declaration is incompatible with xxx xxx (declared at line xx)”问题](https://blog.csdn.net/OMGMac/article/details/126550414)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [【STM32】#147-D: declaration is incompatible 类错误的解决方式](https://blog.csdn.net/ReadAir/article/details/90439479)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [keil5error: #147: declaration is incompatible with ..........](https://blog.csdn.net/RONG_YAO/article/details/124741657)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文