AnsweredAssumed Answered

HAL Library armcc ---cpp11 --cpp_compat

Question asked by gingras.martin on Oct 7, 2015
Hi,

[stm32F2xx HAL library]

I am trying to use some of the features of c++11 but I can't get the HAL library to compile:

** Using Compiler 'V5.06 (build 20)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'UCP-HW1-RELEASE-ULPD'
Before Build - User command #1: ..\..\Tools\Build\set_svn_version.bat
D:\Work\ut-prod-updiplus\trunk\Tools\Build\
compiling stm32f2xx_hal_msp.c...
compiling stm32f2xx_hal_cortex.c...
compiling stm32f2xx_it.c...
compiling stm32f2xx_hal.c...
compiling stm32f2xx_hal_crc.c...
compiling stm32f2xx_hal_can.c...
compiling stm32f2xx_hal_flash.c...
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_flash.c(708): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
     pFlash.ErrorCode |= FLASH_ERROR_PGA;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_flash.c(713): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      pFlash.ErrorCode |= FLASH_ERROR_PGP;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_flash.c(718): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      pFlash.ErrorCode |= FLASH_ERROR_PGS;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_flash.c(723): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      pFlash.ErrorCode |= FLASH_ERROR_RD;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_flash.c(728): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      pFlash.ErrorCode |= FLASH_ERROR_OPERATION;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_flash.c: 0 warnings, 5 errors
compiling stm32f2xx_hal_cryp.c...
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3209): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_TDESECB_Encrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3209): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_TDESECB_Encrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3213): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_TDESECB_Decrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3213): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_TDESECB_Decrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3217): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_TDESCBC_Encrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3217): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_TDESCBC_Encrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3221): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_TDESCBC_Decrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3221): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_TDESCBC_Decrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3225): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_DESECB_Encrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3225): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_DESECB_Encrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3229): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_DESECB_Decrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3229): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_DESECB_Decrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3233): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_DESCBC_Encrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3233): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_DESCBC_Encrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3237): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_DESCBC_Decrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3237): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_DESCBC_Decrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3241): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_AESECB_Encrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3241): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_AESECB_Encrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3245): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_AESECB_Decrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3245): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_AESECB_Decrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3249): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_AESCBC_Encrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3249): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_AESCBC_Encrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3253): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_AESCBC_Decrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3253): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_AESCBC_Decrypt_IT(hcryp, 
ULL, 0, 
ULL);
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3257): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_AESCTR_Encrypt_IT(hcryp, 
ULL, 0, 
ULL);       
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3257): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_AESCTR_Encrypt_IT(hcryp, 
ULL, 0, 
ULL);       
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3261): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_AESCTR_Decrypt_IT(hcryp, 
ULL, 0, 
ULL);        
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c(3261): error:  #167: argument of type "void *" is incompatible with parameter of type "std::uint8_t *"
      HAL_CRYP_AESCTR_Decrypt_IT(hcryp, 
ULL, 0, 
ULL);        
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_cryp.c: 0 warnings, 28 errors
compiling stm32f2xx_hal_hash.c...
compiling stm32f2xx_hal_i2s.c...
compiling stm32f2xx_hal_gpio.c...
compiling stm32f2xx_hal_msp_template.c...
compiling stm32f2xx_hal_rng.c...
compiling stm32f2xx_hal_i2c.c...
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_i2c.c(2420): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      hi2c->ErrorCode |= HAL_I2C_ERROR_BERR;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_i2c.c(2431): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      hi2c->ErrorCode |= HAL_I2C_ERROR_ARLO;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_i2c.c(2451): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
        hi2c->ErrorCode |= HAL_I2C_ERROR_AF;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_i2c.c(2462): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      hi2c->ErrorCode |= HAL_I2C_ERROR_OVR;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_i2c.c(3356): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_i2c.c(3370): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_i2c.c(3398): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_i2c.c(3415): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_i2c.c(3457): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_i2c.c(3485): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_i2c.c(3502): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_i2c.c(3530): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_i2c.c(3544): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_i2c.c(3586): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_i2c.c(3618): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
    hi2c->ErrorCode |= HAL_I2C_ERROR_DMA;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_i2c.c: 0 warnings, 15 errors
compiling stm32f2xx_hal_rcc.c...
compiling stm32f2xx_hal_flash_ex.c...
compiling stm32f2xx_hal_sram.c...
compiling stm32f2xx_hal_uart.c...
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_uart.c(1125): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      huart->ErrorCode |= HAL_UART_ERROR_PE;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_uart.c(1135): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      huart->ErrorCode |= HAL_UART_ERROR_FE;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_uart.c(1145): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      huart->ErrorCode |= HAL_UART_ERROR_NE;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_uart.c(1155): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
      huart->ErrorCode |= HAL_UART_ERROR_ORE;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_uart.c(1558): error:  #511: this operation on an enumerated type requires an applicable user-defined operator function
    huart->ErrorCode |= HAL_UART_ERROR_DMA;
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_uart.c: 0 warnings, 5 errors
compiling stm32f2xx_hal_tim.c...
compiling stm32f2xx_hal_tim_ex.c...
compiling stm32f2xx_ll_fsmc.c...
compiling stm32f2xx_hal_adc.c...
compiling stm32f2xx_hal_adc_ex.c...
compiling McuCanDriver.cpp...
compiling ISO15765.cpp...
compiling stm32f2xx_hal_dma.c...
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_dma.c(629): warning:  #42-D: operand types are incompatible ("void (*)(__DMA_HandleTypeDef *)" and "void *")
        if(hdma->XferErrorCallback != 
ULL)
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_dma.c(656): warning:  #42-D: operand types are incompatible ("void (*)(__DMA_HandleTypeDef *)" and "void *")
        if(hdma->XferErrorCallback != 
ULL)
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_dma.c(683): warning:  #42-D: operand types are incompatible ("void (*)(__DMA_HandleTypeDef *)" and "void *")
        if(hdma->XferErrorCallback != 
ULL)
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_dma.c(729): warning:  #42-D: operand types are incompatible ("void (*)(__DMA_HandleTypeDef *)" and "void *")
        if(hdma->XferHalfCpltCallback != 
ULL)
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_dma.c(749): warning:  #42-D: operand types are incompatible ("void (*)(__DMA_HandleTypeDef *)" and "void *")
            if(hdma->XferM1CpltCallback != 
ULL)
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_dma.c(758): warning:  #42-D: operand types are incompatible ("void (*)(__DMA_HandleTypeDef *)" and "void *")
            if(hdma->XferCpltCallback != 
ULL)
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_dma.c(785): warning:  #42-D: operand types are incompatible ("void (*)(__DMA_HandleTypeDef *)" and "void *")
          if(hdma->XferCpltCallback != 
ULL)
..\..\libs\STM32Cube_FW_F2_V1.1.0_Drivers\STM32F2xx_HAL_Driver\Src\stm32f2xx_hal_dma.c: 7 warnings, 0 errors
compiling Retarget - ETM.c...
..\..\src\Retarget\Retarget - ETM.c(9): warning:  #2681-D: name linkage conflicts with previous declaration of variable "std::__stdout" (declared at line 138 of "C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h")
      FILE __stdout;
..\..\src\Retarget\Retarget - ETM.c(9): error:  #70: incomplete type is not allowed
      FILE __stdout;
..\..\src\Retarget\Retarget - ETM.c(10): warning:  #2681-D: name linkage conflicts with previous declaration of variable "std::__stdin" (declared at line 138 of "C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h")
      FILE __stdin;
..\..\src\Retarget\Retarget - ETM.c(10): error:  #70: incomplete type is not allowed
      FILE __stdin;
..\..\src\Retarget\Retarget - ETM.c(11): warning:  #2681-D: name linkage conflicts with previous declaration of variable "std::__stderr" (declared at line 138 of "C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h")
      FILE __stderr;
..\..\src\Retarget\Retarget - ETM.c(11): error:  #70: incomplete type is not allowed
      FILE __stderr;
..\..\src\Retarget\Retarget - ETM.c(40): error:  #734: function "fputc(int, std::FILE *)" conflicts with using-declaration of function "std::fputc(int, std::FILE *)"
      int fputc (int ch, FILE *f) { return 0; }
..\..\src\Retarget\Retarget - ETM.c: 3 warnings, 4 errors

Is there any workaround of plan to fix it?

( I know that I can enable it file by file but it is a PITA because several project/compilation are involved...)

thanx

Mart

Outcomes