Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: _Bool and pc_lint (1 Replies)

$
0
0
trying to use pc-lint with MISRA 2012 I have tried to change in stdbool #define bool _Bool //typedef _Bool bool; makes no difference any suggestions? I get the below type of 'report' all over the place. bool bIsFahrenheit = false; ^ ..\Src\statemachine.c(34,0): Note 970: Use of modifier or type '_Bool' outside of a typedef [MISRA 2012 Directive 4.6, advisory] ^ ..\Src\statemachine.c(34,0): Note 9075: external symbol 'bIsFahrenheit' de

Viewing all articles
Browse latest Browse all 3049

Trending Articles