C89isms in the test suite
Jakub Jelinek
jakub@redhat.com
Mon Nov 21 11:12:58 GMT 2022
On Mon, Nov 14, 2022 at 09:19:26AM +0100, Florian Weimer wrote:
> * Sam James:
>
> > Would you be able to backport 6be2672e4ee41c566a9e072088cccca263bab5f7
> > and 885b6660c17fb91980b5682514ef54668e544b02 to the active <13
> > branches?
>
> Jakub, okay to backport these two (to 12, 11, 10 I presume)?
Ok.
> commit 6be2672e4ee41c566a9e072088cccca263bab5f7
> Author: Florian Weimer <fweimer@redhat.com>
> Date: Tue Oct 18 16:58:48 2022 +0200
>
> libsanitizer: Avoid implicit function declaration in configure test
>
> libsanitizer/
>
> * configure.ac (sanitizer_supported): Include <unistd.h> for
> syscall prototype.
> * configure: Regenerate.
>
> commit 885b6660c17fb91980b5682514ef54668e544b02
> Author: Florian Weimer <fweimer@redhat.com>
> Date: Tue Oct 18 16:58:48 2022 +0200
>
> libiberty: Fix C89-isms in configure tests
>
> libiberty/
>
> * acinclude.m4 (ac_cv_func_strncmp_works): Add missing
> int return type and parameter list to the definition of main.
> Include <stdlib.h> and <string.h> for prototypes.
> (ac_cv_c_stack_direction): Add missing
> int return type and parameter list to the definitions of
> main, find_stack_direction. Include <stdlib.h> for exit
> prototype.
> * configure: Regenerate.
Jakub
More information about the Gcc
mailing list