[ 69%] Building CXX object kopete/protocols/jabber/googletalk/libjingle/talk/base/CMakeFiles/cricketbase.dir/socketaddress.o /build/src/kdenetwork-4.8.3/kopete/protocols/jabber/googletalk/libjingle/talk/base/socketaddress.cc:271:5: warning: "WIN32" is not defined [-Wundef] /build/src/kdenetwork-4.8.3/kopete/protocols/jabber/googletalk/libjingle/talk/base/socketaddress.cc:304:5: warning: "WIN32" is not defined [-Wundef] /build/src/kdenetwork-4.8.3/kopete/protocols/jabber/googletalk/libjingle/talk/base/socketaddress.cc:211:6: warning: unused parameter ‘len’ [-Wunused-parameter] /build/src/kdenetwork-4.8.3/kopete/protocols/jabber/googletalk/libjingle/talk/base/socketaddress.cc:219:6: warning: unused parameter ‘len’ [-Wunused-parameter] /build/src/kdenetwork-4.8.3/kopete/protocols/jabber/googletalk/libjingle/talk/base/socketaddress.cc: In static member function ‘static std::string talk_base::SocketAddress::GetHostname()’: /build/src/kdenetwork-4.8.3/kopete/protocols/jabber/googletalk/libjingle/talk/base/socketaddress.cc:284:49: error: ‘gethostname’ was not declared in this scope make[2]: *** [kopete/protocols/jabber/googletalk/libjingle/talk/base/CMakeFiles/cricketbase.dir/socketaddress.o] Error 1 make[1]: *** [kopete/protocols/jabber/googletalk/libjingle/talk/base/CMakeFiles/cricketbase.dir/all] Error 2 make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. Checkout last svn from http://websvn.kde.org/branches/KDE/4.8/kdenetwork/kopete/ 2. Update to GCC 4.7 3. Try to build kopete Actual Results: Build fails Expected Results: It builds KDE 4.8.2 GCC 4.7
SVN commit 1292762 by rkcosta: Backport r1290696 by alexmerry. Fix build with latest GCC. Not addig changes to the patches folder, as these fixes are already in the ibjingle tree. CCMAIL: kde@randomguy3.me.uk M +1 -0 socketaddress.cc M +6 -0 ssladapter.cc M +9 -9 stringutils.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1292762