-
Notifications
You must be signed in to change notification settings - Fork 290
Closed
Description
Describe the bug
The configure script packged in a tar.gz release file seems to be generated with old autoconf. This prevents proper stdbool.h detection and leads to the following build error on GCC 15:
In file included from autoopts/project.h:30,
from libopts.c:2:
./compat/compat.h:188:19: error: cannot use keyword ‘false’ as enumeration constant
188 | typedef enum { false = 0, true = 1 } _Bool;
| ^~~~~
To Reproduce
Steps to reproduce the behavior:
- download tcpreplay 4.5.1
- invoke
./configure(check forstdbool.hdetection messages) - invoke
make
Expected behavior
stdbool.h is detected and the build is successful
System (please complete the following information):
- OS: Linux
- OS version: Rhino Linux 2025.1 all
- Tcpreplay Version: 4.5.1
Additional context
If I invoke autoreconf -i prior to ./configure, the stdbool.h is detected correctly.
Reactions are currently unavailable