Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2024 12:36:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281222] audio/funktrackergold: Fails to build with GCC 14: error: type defaults to 'int' in declaration of 'amaxy' [-Wimplicit-int]
Message-ID:  <bug-281222-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 281222
           Summary: audio/funktrackergold: Fails to build with GCC 14:
                    error: type defaults to 'int' in declaration of
                    'amaxy' [-Wimplicit-int]
           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/funktracke
                    rgold-1.5.2_9.log
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 281091

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

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: build          >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D env: NO_DEPENDS=3Dyes USER=3Droot UID=3D0 GID=3D0
=3D=3D=3D>  Building for funktrackergold-1.5.2_9
gcc14  -O2 -pipe  -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14
-fno-strict-aliasing   -c dsp_mixxer.c -o dsp_mixxer.o
gcc14  -O2 -pipe  -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14
-fno-strict-aliasing   -c funktracker.c -o funktracker.o
gcc14  -O2 -pipe  -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14
-fno-strict-aliasing   -c funkload.c -o funkload.o
gcc14  -O2 -pipe  -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14
-fno-strict-aliasing   -c funkgold_misc.c -o funkgold_misc.o
gcc14  -O2 -pipe  -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14
-fno-strict-aliasing   -c funkgold_dir.c -o funkgold_dir.o
funkgold_dir.c: In function 'filefind_dis_bg':
funkgold_dir.c:230:12: error: type defaults to 'int' in declaration of 'ama=
xy'
[-Wimplicit-int]
  230 |   register amaxy =3D maxy - 4;
      |            ^~~~~
*** Error code 1

Stop.
make: stopped in /wrkdirs/usr/ports/audio/funktrackergold/work/funkgold
*** Error code 1

Stop.
make: stopped in /usr/ports/audio/funktrackergold

Full log:
https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-08-29=
_19h57m48s/logs/errors/funktrackergold-1.5.2_9.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-281222-7788>