cancel
Showing results for 
Search instead for 
Did you mean: 

mixing stdbool.h and stm32f10x_type.h

4316139955_stm1
Associate II
Posted on October 16, 2008 at 07:20

mixing stdbool.h and stm32f10x_type.h

1 REPLY 1
4316139955_stm1
Associate II
Posted on May 17, 2011 at 12:48

Do you now the proper way to include stm32f10x_type.h and stdbool.h without compile error ?

bool is defined twice. I changed the definition and it works, but I don't like to change third party libs.

It would be nice if ST could modify it libs to be compatible with C99 stdbool.h (and C++ buildin bool as well).

Best regards

Marc Emery