Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2024 13:48:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281241] multimedia/xanim: error: type of 'blks' defaults to 'int' [-Wimplicit-int]
Message-ID:  <bug-281241-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 281241
           Summary: multimedia/xanim: error: type of 'blks' defaults to
                    'int' [-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/xanim-2.92
                    .0_11.log
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dinoex@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 281091
             Flags: maintainer-feedback?(dinoex@FreeBSD.org)
          Assignee: dinoex@FreeBSD.org

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/X11  -I.    -I/usr/local/inc=
lude
   -DCSRG_BASED  -DFUNCPROTO=3D15 -DNARROWPROTO     -DXSHM -DXMBUF=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
     -DXA_DLL -DXA_PRINT -DXA_DLL_PATH=3D\"/usr/local/lib/X11/xanim\"   -DX=
A_GSM
-DXA_LINUX_AUDIO -DXA_PETUNIA -DXA_KPCD  -c xa_color.c -o xa_color.o
xa_color.c: In function 'YUV2x2_Blk_Func':
xa_color.c:2607:7: error: type of 'blks' defaults to 'int' [-Wimplicit-int]
 2607 | void *YUV2x2_Blk_Func(image_type,blks,dith_flag)
      |       ^~~~~~~~~~~~~~~
*** [xa_color.o] Error code 1

make: stopped in /wrkdirs/usr/ports/multimedia/xanim/work/xanim2920
1 error

make: stopped in /wrkdirs/usr/ports/multimedia/xanim/work/xanim2920
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/xanim
=3D>> Cleaning up wrkdir

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