Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Mar 2020 14:20:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        powerpc@FreeBSD.org
Subject:   [Bug 245131] multimedia/libdvdnav : Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit: src/vm/vm.c:178: error: 'for' loop initial declaration used outside C99 mode
Message-ID:  <bug-245131-25139-355QpsA6Lm@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-245131-25139@https.bugs.freebsd.org/bugzilla/>
References:  <bug-245131-25139@https.bugs.freebsd.org/bugzilla/>

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

canardo <canardo909@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |canardo909@gmx.com

--- Comment #1 from canardo <canardo909@gmx.com> ---
Same kind of error with multimedia/libdvdread

/usr/ports/multimedia/libdvdread # make --DBATCH install clean
.....
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./src -I./src/dvdread -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -Wall -Wsign-compare -Wextra =
-MT
src/ifo_read.lo -MD -MP -MF src/.deps/ifo_read.Tpo -c src/ifo_read.c  -fPIC
-DPIC -o src/.libs/ifo_read.o
src/ifo_read.c: In function 'makehexdump':
src/ifo_read.c:56: error: 'for' loop initial declaration used outside C99 m=
ode
src/ifo_read.c: In function 'ifoOpenVMGI':
src/ifo_read.c:417: error: 'for' loop initial declaration used outside C99 =
mode
src/ifo_read.c: In function 'ifoOpenVTSI':
src/ifo_read.c:453: error: 'for' loop initial declaration used outside C99 =
mode
gmake[2]: *** [Makefile:575: src/ifo_read.lo] Error 1
gmake[2]: Leaving directory
'/usr/ports/multimedia/libdvdread/work/libdvdread-6.1.0'
gmake[1]: *** [Makefile:420: all] Error 2
gmake[1]: Leaving directory
'/usr/ports/multimedia/libdvdread/work/libdvdread-6.1.0'
=3D=3D=3D> Compilation failed unexpectedly.


It looks quite similar but I can open a dedicated PR if needed.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245131-25139-355QpsA6Lm>