Root cause of "error: two or more data types in declaration specifiers"
is that the vxWorks g++ is treating _Bool as something other than just an identifier.
Not sure what, as it doesn't appear in predefined compiler macros or pre-processed output,
but just changing the _Bool identifier to utf8proc_bool fixes it.
I also found I could avoid the entire problem for vxWorks 6.6 by setting HAVE_STDBOOL_H
so rolled back the version test from 6.8 to 6.6.
Either fix is sufficient for vxWorks 6.6, and hopefully together will cover most vxWorks versions.
Thanks for fixing that. Your change to utf8proc.h exposed a problem with mingw. It was defining HAVE__BOOL, but that was not correct. I have fixed that in os/WIN32/config.h.
Root cause of "error: two or more data types in declaration specifiers" is that the vxWorks g++ is treating _Bool as something other than just an identifier. Not sure what, as it doesn't appear in predefined compiler macros or pre-processed output, but just changing the _Bool identifier to utf8proc_bool fixes it. I also found I could avoid the entire problem for vxWorks 6.6 by setting HAVE_STDBOOL_H so rolled back the version test from 6.8 to 6.6. Either fix is sufficient for vxWorks 6.6, and hopefully together will cover most vxWorks versions.