On 26/11/2025 17:04, Viktor Dukhovni via Postfix-users wrote:
On Wed, Nov 26, 2025 at 04:15:09PM +1100, Gary R. Schmidt via Postfix-users
wrote:
..., but also, on Solaris 11.4, using GCC 15.2.0:
...
gcc -I. -I../../include -m32 -DHAS_LMDB -DUSE_TLS -DUSE_SASL_AUTH
-DUSE_CYRUS_SASL -DHAS_DB -DEAI -I/usr/include/sasl -I/opt/local/include
-DNO_NISPLUS -Dstrcasecmp=fix_strcasecmp -Dstrncasecmp=fix_strncasecmp
-DHAS_DEV_URANDOM -DHAS_PCRE=2 -I/usr/include/pcre -DUSE_DYNAMIC_LIBS
-UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common
-fPIC -g -O -I. -I../../include -DSUNOS5 -c abounce.c
In file included from abounce.c:195:
./mail_params.h:17:13: error: ‘bool’ cannot be defined via ‘typedef’
17 | typedef int bool;
| ^~~~
This is known bitrot issue, and the known work-around is to add
"-std=gnu17" to your compiler flags. For example, My build
configuration script for Postfix as a result looks like:
Aaaah!! That's better. :-)
Cheers,
Gary B-)
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]