Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2024 13:11:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281234] games/xbat: Fails to build with GCC 14: error: implicit declaration of function 'ZosyFree' [-Wimplicit-function-declaration]
Message-ID:  <bug-281234-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281234

            Bug ID: 281234
           Summary: games/xbat: Fails to build with GCC 14: error:
                    implicit declaration of function 'ZosyFree'
                    [-Wimplicit-function-declaration]
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://pkg-status.freebsd.org/gohan04/data/140amd64-d
                    efault-foo/2024-08-29_19h57m48s/logs/errors/xbat-1.11_
                    11.log
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: salvadore@freebsd.org
                CC: TsurutaniNaoki@gmail.com
            Blocks: 281091
             Flags: maintainer-feedback?(TsurutaniNaoki@gmail.com)
                CC: TsurutaniNaoki@gmail.com

Build fails with GCC 14. This blocks GCC_DEFAULT update to GCC 14.

gcc14  -O2 -pipe  -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14
-fno-strict-aliasing        -I/usr/local/include    -DCSRG_BASED=20
-DFUNCPROTO=3D15 -DNARROWPROTO   -DUNION=3D1 -DSCORE_DIR=3D\"/var/games/xba=
t/Score\"=20
     -DIMAGE_DIR=3D\"/usr/local/lib/X11/Xbat/Image\"=20=20=20=20=20=20=20=
=20=20=20
-DMAP_DIR=3D\"/usr/local/lib/X11/Xbat/Map\"=20=20=20=20=20=20
-DDOMO_DIR=3D\"/usr/local/lib/X11/Xbat/Domo\"       -c xev.c -o xev.o
xev.c: In function 'FreePixmap':
xev.c:16:7: error: implicit declaration of function 'ZosyFree'
[-Wimplicit-function-declaration]
   16 |       ZosyFree();
      |       ^~~~~~~~
xev.c:17:7: error: implicit declaration of function 'BacuFree'
[-Wimplicit-function-declaration]
   17 |       BacuFree();
      |       ^~~~~~~~
xev.c:18:7: error: implicit declaration of function 'BackFree'
[-Wimplicit-function-declaration]
   18 |       BackFree();
      |       ^~~~~~~~
xev.c:19:7: error: implicit declaration of function 'EnemyFree'
[-Wimplicit-function-declaration]
   19 |       EnemyFree();
      |       ^~~~~~~~~

Full log:
https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-08-29=
_19h57m48s/logs/errors/xbat-1.11_11.log

Useful link: https://gcc.gnu.org/gcc-14/porting_to.html


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281091
[Bug 281091] [exp-run] Update GCC_DEFAULT to 14 etc.
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281234-7788>