Date: Mon, 17 Jun 2019 07:30:54 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 238647] misc/estic: Unbreak with GCC 9 Message-ID: <bug-238647-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238647 Bug ID: 238647 Summary: misc/estic: Unbreak with GCC 9 Product: Ports & Packages Version: Latest Hardware: Any URL: http://package22.nyi.freebsd.org/data/112amd64-default -PR238330/2019-06-09_20h29m30s/logs/errors/estic-1.61_ 9.log OS: Any Status: New Keywords: needs-qa, patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: dinoex@FreeBSD.org Reporter: tobik@freebsd.org CC: dinoex@FreeBSD.org Blocks: 238330 Assignee: dinoex@FreeBSD.org Flags: maintainer-feedback?(dinoex@FreeBSD.org) Attachment #205168 maintainer-approval?(dinoex@FreeBSD.org) Flags: CC: dinoex@FreeBSD.org Created attachment 205168 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D205168&action= =3Dedit estic.diff estic fails to build with GCC 9: g++9 -O2 -pipe -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc9=20 -Wl,-rpath=3D/usr/local/lib/gcc9 -std=3Dgnu++98 -DFREEBSD -g -Wall -x c++ = -I /usr/local/include -fno-implicit-templates -DEXPLICIT_TEMPLATES -c bitset.cc In file included from stream.h:76, from bitset.cc:25: str.h:346:19: error: friend declaration of 'String ShowControls(const Strin= g&, unsigned int)' specifies default arguments and isn't a definition [-fpermissive] 346 | friend String ShowControls (const String& S, unsigned Style =3D ccDefault); | ^~~~~~~~~~~~ str.h:346:19: error: friend declaration of 'String ShowControls(const Strin= g&, unsigned int)' specifies default arguments and isn't the only declaration [-fpermissive] str.h:97:12: note: previous declaration of 'String ShowControls(const Strin= g&, unsigned int)' 97 | String ShowControls (const String& S, unsigned Style); | ^~~~~~~~~~~~ *** Error code 1 Adding -fpermissive to CXXFLAGS allows it to build, but maybe there is a nicer way? http://package22.nyi.freebsd.org/data/112amd64-default-PR238330/2019-06-09_= 20h29m30s/logs/errors/estic-1.61_9.log Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238330 [Bug 238330] [exp-run] Update GCC_DEFAULT from 8 to 9 --=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-238647-7788>