iidaの日記: squid 3.1.10 2
日記 by
iida
squid-3.1.10をGCC 4.5.0でインストールしようとしたら、src/comm_devpoll.ccで、
../srcdir/src/comm_devpoll.cc:95:3: error: non-local variable '<anonymous struct> devpoll_update' uses anonymous type
というエラーになってしまう。 次のパッチで回避できた。
--- squid-3.1.10/src/comm_devpoll.cc~ 2010-12-22 05:46:56
+++ squid-3.1.10/src/comm_devpoll.cc 2010-12-27 13:17:07
@@ -90,3 +90,3 @@
*/
-struct {
+static struct {
struct pollfd *pfds; /**< ptr to array of struct pollfd config elements */
ささやかなパッチだが一応、メールで原作者に送ってみた。反応が楽しみ。
Bugzilla (スコア:2)
ここ [squid-cache.org] で File a Bug してあげる方が歓迎されるのではないかと愚考。
Re:Bugzilla (スコア:1)
3.1.11で直っていなかったので、「File a Bug」してみました。
http://bugs.squid-cache.org/show_bug.cgi?id=3181 [squid-cache.org]
iida