STM32CubeU5
STM32CubeU5 copied to clipboard
Missing "defined" in header file
File: stm32u5xx_hal_def.h Compiler: gcc
Issue: Missing "defined" for test of __ARMCC_VERSION Error/Warning from GCC: STM32CubeU5/Drivers/STM32U5xx_HAL_Driver/Inc/stm32u5xx_hal_def.h:208:34: warning: "__ARMCC_VERSION" is not defined, evaluates to 0 [-Wundef]
Line: 175
/**
* @brief __RAM_FUNC definition
*/
#if defined ( __CC_ARM ) || ((__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050))
=>
#if defined ( __CC_ARM ) || ((defined __ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050))
Line: 208
/**
* @brief __NOINLINE definition
*/
#if defined ( __CC_ARM ) || ((__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)) || defined ( __GNUC__ )
=>
#if defined ( __CC_ARM ) || ((defined __ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)) || defined ( __GNUC__ )
ST Internal Reference: 136515