URL: <https://savannah.gnu.org/support/?111243>
Summary: stdbool conftest program (and possibly others) is broken with GCC 15 Group: Autoconf Submitter: sergiodj Submitted: Mon 12 May 2025 04:12:55 PM -03 Priority: 5 - Unprioritized Severity: 4 - Important Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Operating System: GNU/Linux _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Mon 12 May 2025 04:12:55 PM -03 By: Sergio Durigan Junior <sergiodj> Hi, It seems like the conftest program used to check whether stdbool.h is available doesn't work with GCC 15: configure:4674: checking for stdbool.h that conforms to C99 configure:4741: x86_64-pc-linux-gnu-gcc -c -g -O2 conftest.c >&5 conftest.c:30:15: error: expected identifier or '(' before string constant 30 | "error: bool is not defined" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ conftest.c:48:48: warning: data definition has no type or storage class 48 | struct s { _Bool s: 1; _Bool t; } s; | ^ conftest.c:48:48: error: type defaults to 'int' in declaration of 's' [-Wimplicit-int] conftest.c:58:29: error: request for member 't' in something not a structure or union 58 | char i[sizeof s.t]; | ^ configure:4741: $? = 1 Currently using autoconf-2.72 without downstream patches to test. This is affecting cifs-utils (which requires stdbool.h). _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/support/?111243> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature