[kernel] Add __attribute__(...) for rt_kprintf() to let the compiler check the...
[kernel] Add __attribute__(...) for rt_kprintf() to let the compiler check the format string parameters Tested in the following environment: 1. Keil uVersion:Arm Compiler v5.06、v6.7、v6.16 2. Atollic TrueSTUDIO for STM32:GNU v6.3.1 3. Code Composer Studio:TI Compiler v20.2.2.LTS、GNU v7.2.1
Showing
想要评论请 注册 或 登录