The header code generated contains
typedef int bool;
I am not sure if I want that in my header.
typedef int bool;
I am not sure if I want that in my header.
I've seen this in the wild, including the top answer on a StackOverflow question:
#define bool int
http://stackoverflow.com/questions/4159713/how-to-use-boolea...
Besides, if you want correct code, don't ask a tool to guess it! This tool is for patching up fragments enough to get them through the compiler front end analysis.
The actual boolean type is called _Bool, but <stdbool.h> provides macros that let bool, true, and false work.