[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [nmh-workers] nmh 1.7.1 compile errors
From: |
Valdis Klētnieks |
Subject: |
Re: [nmh-workers] nmh 1.7.1 compile errors |
Date: |
Mon, 03 Jun 2019 13:32:56 -0400 |
On Mon, 03 Jun 2019 15:58:18 -0000, address@hidden 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...
pgpv6ZOUN9qvh.pgp
Description: PGP signature