Date: Wed, 20 May 2015 05:02:45 -0700 From: Garrett Cooper <yaneurabeya@gmail.com> To: Adrian Chadd <adrian@freebsd.org> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: libiconv: compile error with gcc-4.9 Message-ID: <67035EC4-0BC6-4CC1-B771-70CECB8395C0@gmail.com> In-Reply-To: <CAJ-Vmo=Kd=gEWudgQEWmyg62HO%2BfEmFL7zSvn4fQkKVRUaLGDw@mail.gmail.com> References: <CAJ-Vmo=Kd=gEWudgQEWmyg62HO%2BfEmFL7zSvn4fQkKVRUaLGDw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_3DF27A1F-3E69-4F5D-95D9-DC87C1D9F4B3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On May 20, 2015, at 0:09, Adrian Chadd <adrian@freebsd.org> wrote: > Hi, >=20 > I have the following compile error with gcc-4.9. Is there an issue > with the macro/inline, or is it just dead code? >=20 > --- citrus_prop.So --- > /usr/local/bin/mips-portbld-freebsd11.0-gcc -isystem > = /home/adrian/work/freebsd/head-embedded/obj-gcc/mips.mips/usr/home/adrian/= work/freebsd/head-embedded/src/tmp/usr/include > = -L/home/adrian/work/freebsd/head-embedded/obj-gcc/mips.mips/usr/home/adria= n/work/freebsd/head-embedded/src/tmp/usr/lib > = --sysroot=3D/home/adrian/work/freebsd/head-embedded/obj-gcc/mips.mips/usr/= home/adrian/work/freebsd/head-embedded/src/tmp > -B/usr/local/mips-freebsd/bin/ -fpic -DPIC -O -pipe -G0 -march=3Dmips32= > -I/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/include > = -I/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/../../include > -I/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/mips -DNLS > -DSOFTFLOAT -D__DBINTERFACE_PRIVATE > = -I/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/../../contrib/g= dtoa > = -I/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/../../contrib/l= ibc-vis > -DINET6 = -I/home/adrian/work/freebsd/head-embedded/obj-gcc/mips.mips/usr/home/adria= n/work/freebsd/head-embedded/src/lib/libc > -I/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/resolv > -D_ACL_PRIVATE -DPOSIX_MISTAKE > -I/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/../libmd > = -I/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/../../contrib/j= emalloc/include > -DMALLOC_PRODUCTION > = -I/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/../../contrib/t= zcode/stdtime > -I/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/stdtime > -I/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/locale > -DBROKEN_DES -DPORTMAP -DDES_BUILTIN > -I/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/rpc > = -I/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/mips/softfloat > -I/usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/softfloat > -DSOFTFLOAT_FOR_GCC -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=3Dgnu99 > -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized > -Wno-pointer-sign -c > = /usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/iconv/citrus_prop= .c > -o citrus_prop.So > = /usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/iconv/citrus_prop= .c: > In function '_citrus_prop_read_chr': > = /usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/iconv/citrus_prop= .c:112:16: > error: variable 'neg' set but not used > [-Werror=3Dunused-but-set-variable] > int base, ch, neg; \ > ^ > = /usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/iconv/citrus_prop= .c:142:1: > note: in expansion of macro '_CITRUS_PROP_READ_INT' > _CITRUS_PROP_READ_INT(chr, int) > ^ > = /usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/iconv/citrus_prop= .c: > In function '_citrus_prop_read_num': > = /usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/iconv/citrus_prop= .c:112:16: > error: variable 'neg' set but not used > [-Werror=3Dunused-but-set-variable] > int base, ch, neg; \ > ^ > = /usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/iconv/citrus_prop= .c:143:1: > note: in expansion of macro '_CITRUS_PROP_READ_INT' > _CITRUS_PROP_READ_INT(num, uint64_t) > ^ If I remember correctly, we obtained libiconv from netbsd. If so, was = this fixed already by upstream? Thanks! --Apple-Mail=_3DF27A1F-3E69-4F5D-95D9-DC87C1D9F4B3 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJVXHflAAoJEMZr5QU6S73eTX4H/jnikCfokACP10Sumal8HkME 3gYl8RdwNYrhk2h4MuiNc6gpD2jy1w7B4hEkaNstMtbdlIGzi4jmGypJGcUEbcbO W41u/kbDagEQJEVbvPRPT/upuCl25M15NK7B/ejRaEOYaOPpjiqSKDcB995Jj3Hu hx22G1ZsK3kMN5IjoCwIFHGZSyaHgT7nf045cLcVrfnupZJ8R1kc+6CI17BWd3rC LDs11dIaeO4JadMFjyPWgqhPJ8vpRJ3N/ORu8xxeNmsmBCJrvFjcESZwXnCSrNIg cpEdQvLh9yVfAcNdT2wlcBiopbQ0J6Lsbz1NWHA6gy6lN/dl6sxWyKZO8sCPotc= =L8Il -----END PGP SIGNATURE----- --Apple-Mail=_3DF27A1F-3E69-4F5D-95D9-DC87C1D9F4B3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?67035EC4-0BC6-4CC1-B771-70CECB8395C0>