Summary: | app-text/llpp-22: link.c:3837:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Scott Alfter <scott> |
Component: | Current packages | Assignee: | Michael Weber (RETIRED) <xmw> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
patch to fix llpp so it'll build |
Description
Scott Alfter
2016-01-11 18:45:26 UTC
Created attachment 422578 [details]
emerge --info
Created attachment 422580 [details, diff]
patch to fix llpp so it'll build
Copy this to /etc/portage/patches/app-text/llpp-22 until it finds its way into Portage (or upstream fixes its code).
This is no upstream issue, I don't use upstreams build script and forgot to set `-std=c99` for gcc-4.9, because my default gcc-5.3 doesn't need this. It's fixed in tree and should propagate via rsync by now. commit fc31b82604ef2d4b6c55d60f52bbb410c809b5ea Author: Michael Weber <xmw@gentoo.org> Date: Tue Jan 12 23:34:00 2016 +0100 app-text/llpp: adopt -std=c99 for gcc-4.9 and some other -W flags form upstream (thanks kaste for the report). Package-Manager: portage-2.2.26 app-text/llpp/llpp-22.ebuild app-text/llpp/llpp-9999.ebuild |