有使用Hal库结合C++以及C语言写程序的吗,keil会报错
..\HARDWARE\adis16375\test.h(10): error: #20: identifier "class" is undefined
加上--cpp11
..\HALLIB\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc_ex.c(1131): error: #511: this operation on an enumerated type requires an applicable user-defined operator function
有知道怎么解决吗