On Mon, 03 Jun 2019 15:58:18 -0000, firstname.lastname@example.org said:
I get the following compile errors compiling on solaris 10 - sparc and I'm
not sure how to resolve it.
Sun Compiler developer studio ansi C compiler
"/usr/include/curses.h", line 86: invalid type combination
85 #if !defined(__cplusplus) && !defined(_BOOL)
86 typedef char bool;
87 #endif /* !defined(__cplusplus) && !defined(_BOOL) */
Apparently, the Sun compiler has sprouted internal support for 'bool'.
Adding -D_BOOL to the CCFLAGS should work around this, but I'm not sure what
you're using to configure/build nmh, so it's unclear where the best place to
add it is.
Anybody else still using Solaris 10 with either gcc or the Sun compiler? We'll
need some testing to make sure if we add this to the autoconfigure stuff, we
don't break it for other Solaris/compiler combinations...
Description: PGP signature