Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2024 12:40:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281223] cad/alliance: Fails to build with GCC 14: beh_delbequad.c:45:6: error: type of 'listbequad' defaults to 'int' [-Wimplicit-int]
Message-ID:  <bug-281223-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 281223
           Summary: cad/alliance: Fails to build with GCC 14:
                    beh_delbequad.c:45:6: error: type of 'listbequad'
                    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/alliance-5
                    .1.1_6.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.

/bin/sh ../../libtool  --tag=3DCC   --mode=3Dcompile gcc14 -DPACKAGE_NAME=
=3D\"\"
-DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D\"\" -DPACKAGE_STRING=3D\"\"
-DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE_URL=3D\"\" -DPACKAGE=3D\"alliance\"
-DVERSION=3D\"5.0\" -DYYTEXT_POINTER=3D1 -DHAVE_STDIO_H=3D1 -DHAVE_STDLIB_H=
=3D1
-DHAVE_STRING_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_STRING=
S_H=3D1
-DHAVE_SYS_STAT_H=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_UNISTD_H=3D1 -DSTDC_HEA=
DERS=3D1
-DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -DHAVE_FCNTL_H=3D1 -DHAVE_MALLO=
C_H=3D1
-DHAVE_STRINGS_H=3D1 -DHAVE_SYS_TIME_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_STRIN=
GS_H=3D1
-DHAVE_UNISTD_H=3D1 -DHAVE_LIBM=3D1 -DHAVE_LIBM=3D1 -DHAVE_LIBM=3D1 -DHAVE_=
LIBM=3D1
-DHAVE_FORK=3D1 -DHAVE_VFORK=3D1 -DHAVE_WORKING_VFORK=3D1 -DHAVE_WORKING_FO=
RK=3D1
-DHAVE_SYS_WAIT_H=3D1 -DRETSIGTYPE=3Dvoid -DHAVE_MOTIF=3D1 -DHAVE_XPM=3D1 -=
DHAVE_XPM=3D1
-DHAVE_X11_XPM_H=3D1 -DHAVE_MOTIF=3D1 -DHAVE_XMUSEVERSION=3D1 -DHAVE_XMINST=
ALLIMAGE=3D1
-DALLIANCE_VERSION=3D\"5.0\" -DALLIANCE_TOP=3D\"/usr/local/alliance\" -I.=
=20=20=20
-I../../mbk/src -I../../log/src -O2 -pipe  -fcommon -fstack-protector-strong
-Wl,-rpath=3D/usr/local/lib/gcc14 -fno-strict-aliasing  -MT beh_delbequad.l=
o -MD
-MP -MF .deps/beh_delbequad.Tpo -c -o beh_delbequad.lo beh_delbequad.c
libtool: compile:  gcc14 -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\"
-DPACKAGE_VERSION=3D\"\" -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\"
-DPACKAGE_URL=3D\"\" -DPACKAGE=3D\"alliance\" -DVERSION=3D\"5.0\" -DYYTEXT_=
POINTER=3D1
-DHAVE_STDIO_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_INTTYPES_=
H=3D1
-DHAVE_STDINT_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_SYS_T=
YPES_H=3D1
-DHAVE_UNISTD_H=3D1 -DSTDC_HEADERS=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".=
libs/\"
-DHAVE_FCNTL_H=3D1 -DHAVE_MALLOC_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_SYS_TIME=
_H=3D1
-DHAVE_UNISTD_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_LIBM=3D1
-DHAVE_LIBM=3D1 -DHAVE_LIBM=3D1 -DHAVE_LIBM=3D1 -DHAVE_FORK=3D1 -DHAVE_VFOR=
K=3D1
-DHAVE_WORKING_VFORK=3D1 -DHAVE_WORKING_FORK=3D1 -DHAVE_SYS_WAIT_H=3D1
-DRETSIGTYPE=3Dvoid -DHAVE_MOTIF=3D1 -DHAVE_XPM=3D1 -DHAVE_XPM=3D1 -DHAVE_X=
11_XPM_H=3D1
-DHAVE_MOTIF=3D1 -DHAVE_XMUSEVERSION=3D1 -DHAVE_XMINSTALLIMAGE=3D1
-DALLIANCE_VERSION=3D\"5.0\" -DALLIANCE_TOP=3D\"/usr/local/alliance\" -I.
-I../../mbk/src -I../../log/src -O2 -pipe -fcommon -fstack-protector-strong
-Wl,-rpath=3D/usr/local/lib/gcc14 -fno-strict-aliasing -MT beh_delbequad.lo=
 -MD
-MP -MF .deps/beh_delbequad.Tpo -c beh_delbequad.c  -fPIC -DPIC -o
.libs/beh_delbequad.o
beh_delbequad.c: In function 'beh_delbequad':
beh_delbequad.c:45:6: error: type of 'listbequad' defaults to 'int'
[-Wimplicit-int]
   45 | void beh_delbequad (listbequad, ptbequad, mode)
      |      ^~~~~~~~~~~~~
gmake[2]: *** [Makefile:782: beh_delbequad.lo] Error 1
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/cad/alliance/work/alliance-ebece102e15c110fc79f1da50524=
c68fd9523f0c/alliance/src/beh/src'
gmake[1]: *** [Makefile:530: all-recursive] Error 1
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/cad/alliance/work/alliance-ebece102e15c110fc79f1da50524=
c68fd9523f0c/alliance/src/beh'
gmake: *** [Makefile:579: all-recursive] Error 1
*** Error code 1

Stop.
make: stopped in /usr/ports/cad/alliance
Full log:
https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-08-29=
_19h57m48s/logs/errors/alliance-5.1.1_6.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-281223-7788>