Keil : error: identifier “int8_ T “is undefined

spent the whole night looking for errors:

error message:

*** Using Compiler 'V5.06 update 1 (build 61)', folder: 'F:\Keil\ARM\ARMCC\Bin'
Rebuild target 'Target 1'
assembling startup_stm32f10x_hd.s...
compiling system_stm32f10x.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\CMSIS\system_stm32f10x.c: 0 warnings, 6 errors
compiling core_cm3.c...
compiling misc.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\misc.c: 0 warnings, 6 errors
compiling stm32f10x_adc.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.c: 0 warnings, 6 errors
compiling stm32f10x_bkp.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_bkp.c: 0 warnings, 6 errors
compiling stm32f10x_crc.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_crc.c: 0 warnings, 6 errors
compiling stm32f10x_cec.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_cec.c: 0 warnings, 6 errors
compiling stm32f10x_can.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_can.c: 0 warnings, 6 errors
compiling stm32f10x_dbgmcu.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dbgmcu.c: 0 warnings, 6 errors
compiling stm32f10x_dac.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dac.c: 0 warnings, 6 errors
compiling stm32f10x_exti.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.c: 0 warnings, 6 errors
compiling stm32f10x_dma.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dma.c: 0 warnings, 6 errors
compiling stm32f10x_gpio.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.c: 0 warnings, 6 errors
compiling stm32f10x_i2c.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_i2c.c: 0 warnings, 6 errors
compiling stm32f10x_flash.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_flash.c: 0 warnings, 6 errors
compiling stm32f10x_fsmc.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_fsmc.c: 0 warnings, 6 errors
compiling stm32f10x_pwr.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_pwr.c: 0 warnings, 6 errors
compiling stm32f10x_iwdg.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_iwdg.c: 0 warnings, 6 errors
compiling stm32f10x_rcc.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.c: 0 warnings, 6 errors
compiling stm32f10x_rtc.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rtc.c: 0 warnings, 6 errors
compiling stm32f10x_spi.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_spi.c: 0 warnings, 6 errors
compiling stm32f10x_sdio.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_sdio.c: 0 warnings, 6 errors
compiling stm32f10x_tim.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_tim.c: 0 warnings, 6 errors
compiling stm32f10x_usart.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_usart.c: 0 warnings, 6 errors
compiling main.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\User\main.c: 0 warnings, 6 errors
compiling stm32f10x_wwdg.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_wwdg.c: 0 warnings, 6 errors
compiling stm32f10x_it.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\User\stm32f10x_it.c: 0 warnings, 6 errors
".\Objects\BH-F103.axf" - 156 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:10

I’ve been focusing on the identifier “int8_t” is undefined,
should actually start with the error check on the first line.
is
… H (474): error: #7: unrecognized token
* @}
will be fine once this problem is solved.

Read More: