{"comment":{"created_at":"2011-10-25T11:52:53Z","body":"Can you confirm which version of gcc you are using please?  The code builds without warnings for us using v4.4.5","updated_at":"2011-10-25T11:52:53Z","url":"https://api.github.com/repos/openhome/ohNet/issues/comments/2516050","id":2516050,"user":{"avatar_url":"https://secure.gravatar.com/avatar/021f3344004f0c886d715314fa02037d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"021f3344004f0c886d715314fa02037d","url":"https://api.github.com/users/SimonChisholm","id":621495,"login":"SimonChisholm"}},"action":"created","issue":{"number":2,"created_at":"2011-10-24T20:42:28Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I get the following error when trying to build ohNet on Linux:\r\n\r\n    gcc -fPIC -o Build/Obj/Posix/Debug/mDNS.o -c -fexceptions -Wall -Werror -pipe -D_GNU_SOURCE -D_REENTRANT -DDEFINE_LITTLE_ENDIAN -DDEFINE_TRACE -g -O0  -fvisibility=hidden -Wno-psabi -IBuild/Include/ OpenHome/Net/Device/Bonjour/mDNSCore/mDNS.c\r\n    OpenHome/Net/Device/Bonjour/mDNSCore/mDNS.c: In function ‘ProcessQuery’:\r\n    OpenHome/Net/Device/Bonjour/mDNSCore/mDNS.c:5316:7: error: variable ‘i’ set but not used [-Werror=unused-but-set-variable]\r\n    OpenHome/Net/Device/Bonjour/mDNSCore/mDNS.c: In function ‘mDNS_Close’:\r\n    OpenHome/Net/Device/Bonjour/mDNSCore/mDNS.c:7305:10: error: variable ‘rrcache_totalused’ set but not used [-Werror=unused-but-set-variable]\r\n    cc1: all warnings being treated as errors\r\n    make: *** [Build/Obj/Posix/Debug/mDNS.o] Error 1\r\n","comments":1,"title":"53fd9f36cd does not build on Linux","updated_at":"2011-10-25T11:52:53Z","url":"https://api.github.com/repos/openhome/ohNet/issues/2","id":2038247,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/741704f57835da6c8a5d17a6c998960c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"741704f57835da6c8a5d17a6c998960c","url":"https://api.github.com/users/jacobrask","id":58563,"login":"jacobrask"},"html_url":"https://github.com/openhome/ohNet/issues/2","labels":[],"state":"open"},"legacy":{"issue_id":2038247,"comment_id":2516050}}