Booleans not showing up if C++ "bool" is used
Hello again, I know i posted some time ago but my question is not seen anymore (link to original https://community.st.com/s/question/0D53W00000wWDX2SAO/cubemonitor-still-not-seeing-boolean-values)
I was suggested to to include "stdbool.h" but, as I'm working with a C++ project, G++ says that bool is supported and what I get in "stdbool.h" is the following (italic is greyed out code):
#ifndef __cplusplus
#define bool _Bool
#define true 1
#define false 0
#else /* __cplusplus */
/* Supporting _Bool in C++ is a GCC extension. */
#define _Bool bool
#if __cplusplus < 201103L
/* Defining these macros in C++98 is a GCC extension. */
#define bool bool
#define false false
#define true true
#endif
#endif /* __cplusplus */
I could manually modify the file to use "C" bool but, is there another way?
Thank you!
