GNU bug report logs -
#71425
test: Accommodate C23 compilers.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71425 in the body.
You can then email your comments to 71425 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
automake-patches <at> gnu.org
:
bug#71425
; Package
automake-patches
.
(Sat, 08 Jun 2024 05:07:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Collin Funk <collin.funk1 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
automake-patches <at> gnu.org
.
(Sat, 08 Jun 2024 05:07:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
In the yacc test I see warnings like this:
main.c:4:10: error: implicit declaration of function ‘yyparse’ [-Wimplicit-function-declaration]
4 | return yyparse ();
| ^~~~~~~
and some for yylex which is declared, but with an empty parameter list
instead of void.
I assume this is because GCC becoming more strict to conform with C23
requirements. I did these tests with GCC 14.1.
I have attached a patch fixing these tests on my system.
Collin
[0001-test-Accommodate-C23-compilers.patch (text/x-patch, attachment)]
Information forwarded
to
automake-patches <at> gnu.org
:
bug#71425
; Package
automake-patches
.
(Sat, 08 Jun 2024 07:25:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 71425 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Collin Funk <collin.funk1 <at> gmail.com> writes:
> In the yacc test I see warnings like this:
>
> main.c:4:10: error: implicit declaration of function ‘yyparse’ [-Wimplicit-function-declaration]
> 4 | return yyparse ();
> | ^~~~~~~
>
> and some for yylex which is declared, but with an empty parameter list
> instead of void.
>
> I assume this is because GCC becoming more strict to conform with C23
> requirements. I did these tests with GCC 14.1.
>
This is actually some work we've been doing to enforce C99 instead:
https://gcc.gnu.org/gcc-14/porting_to.html#warnings-as-errors.
> I have attached a patch fixing these tests on my system.
>
> Collin
>
> [2. text/x-patch; 0001-test-Accommodate-C23-compilers.patch]...
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
automake-patches <at> gnu.org
:
bug#71425
; Package
automake-patches
.
(Sun, 16 Jun 2024 20:40:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 71425 <at> debbugs.gnu.org (full text, mbox):
Hi Collin,
In the yacc test I see warnings like this:
main.c:4:10: error: implicit declaration of function 'yyparse' [-Wimplicit-function-declaration]
4 | return yyparse ();
| ^~~~~~~
and some for yylex which is declared, but with an empty parameter list
instead of void.
I assume this is because GCC becoming more strict to conform with C23
requirements. I did these tests with GCC 14.1.
I have attached a patch fixing these tests on my system.
Thanks for the report and patch. I applied it. I fear new
incompatibility errors with other systems in other cases, since these
yyparse/yylex declarations have been a constant pain ever since they
started getting "improved", but I guess we'll find out. --thanks, karl.
Reply sent
to
Karl Berry <karl <at> freefriends.org>
:
You have taken responsibility.
(Sun, 16 Jun 2024 20:40:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Collin Funk <collin.funk1 <at> gmail.com>
:
bug acknowledged by developer.
(Sun, 16 Jun 2024 20:40:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 15 Jul 2024 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 242 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.