Hi,

Apologies if this was reported already.

Upcoming GCC 15 defaults to -std=gnu23 with which Postfix fails to build.

As reported at https://bugs.gentoo.org/945733, with postfix-3.9.0, we
get:
```
[...]
x86_64-pc-linux-gnu-gcc -fPIC -I. -I../../include -DHAS_PCRE=2 -DUSE_TLS 
-DNO_NIS -DHAS_DEV_URANDOM 
-DDEF_SHLIB_DIR=\"/usr/lib64/postfix/\${mail_version}\" -DUSE_DYNAMIC_LIBS 
-UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC 
 -O2 -march=x86-64 -fpermissive -pipe -pipe -frecord-gcc-switches 
-fno-diagnostics-color -fmessage-length=0 -I. -I../../include -DLINUX6 -c 
file_id.c
In file included from debug_peer.c:69:
./mail_params.h:17:13: error: two or more data types in declaration specifiers
   17 | typedef int bool;
      |             ^~~~
./mail_params.h:17:1: warning: useless type name in empty declaration
   17 | typedef int bool;
      | ^~~~~~~
In file included from defer.c:176:
./mail_params.h:17:13: error: two or more data types in declaration specifiers
   17 | typedef int bool;
      |             ^~~~
./mail_params.h:17:1: warning: useless type name in empty declaration
   17 | typedef int bool;
      | ^~~~~~~
[...]
```

thanks,
sam
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to