imake: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Dec 16 17:25:41 UTC 2023


 imake.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f730aecd3d939655f28ebd292b98eed754d8ad36
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Mon Dec 11 13:46:56 2023 -0800

    Fix -Wincompatible-pointer-types warning (Issue #3)
    
    Fixes warning from gcc 13 that is becoming an error in gcc 14
    
    imake.c: In function ‘doit’:
    imake.c:797:29: error: passing argument 2 of ‘execvp’ from incompatible
     pointer type [-Werror=incompatible-pointer-types]
      797 |                 execvp(cmd, argv);
          |                             ^~~~
          |                             |
          |                             const char **
    In file included from imake.c:172:
    /usr/include/unistd.h:359:33: note: expected ‘char * const*’
     but argument is of type ‘const char **’
      359 | extern int execvp(const char *, char *const *);
          |                                 ^~~~~~~~~~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list