Date: Sun, 14 Feb 2016 22:01:10 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 207196] www/uwsgi: fix build with clang 3.8.0 Message-ID: <bug-207196-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207196 Bug ID: 207196 Summary: www/uwsgi: fix build with clang 3.8.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: demon@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(demon@FreeBSD.org) Assignee: demon@FreeBSD.org During a recent exp-run for bug 206074, it was found that www/uwsgi gives errors with clang 3.8.0 [1]: /cgi_plugin.c:771:3: error: variable 'i' is incremented both in the loop he= ader and in the loop body [-Werror,-Wfor-loop-analysis] i++; ^ plugins/cgi/cgi_plugin.c:766:30: note: incremented here for(i=3D0;i<wsgi_req->var_cnt;i++) { ^ This new clang warning normally indicates some bug, but in this case upstre= am fixed it by explicitly increasing the counter by two. [2] [1] http://package22.nyi.freebsd.org/data/headamd64PR206074-default/2016-02-14_= 06h53m40s/logs/errors/uwsgi-2.0.12_1.log [2] https://github.com/unbit/uwsgi/commit/2483e64e6dd504af5eefd4da94fc57c0f83b2= 563 --=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-207196-13>