Bug 255561 - Build error with gcc 4.5.1
Summary: Build error with gcc 4.5.1
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: Jabber Plugin (show other bugs)
Version: SVN
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-29 04:50 UTC by Funda Wang
Modified: 2010-11-09 17:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Funda Wang 2010-10-29 04:50:15 UTC
Version:           SVN (using Devel) 
OS:                Linux

I'm currently building kopete svn trunk with gcc 4.5.1 under Mandriva cooker, it fails on following errors:

/tmp/kdenetwork4/BUILD/kdenetwork-4.5.74svn1190490/kopete/protocols/jabber/googl                                                                                etalk/libjingle/talk/base/stringencode.cc: In function 'const char* talk_base::u                                                                                nsafe_filename_characters()':
/tmp/kdenetwork4/BUILD/kdenetwork-4.5.74svn1190490/kopete/protocols/jabber/googl                                                                                etalk/libjingle/talk/base/stringencode.cc:156:1: error: no return statement in f                                                                                unction returning non-void
make[2]: *** [kopete/protocols/jabber/googletalk/libjingle/talk/base/CMakeFiles/                                                                                cricketbase.dir/stringencode.o] Error 1

It seems that unsafe_filename_characters() does not have any result for non-win32 platform, which is unacceptable now.

Reproducible: Didn't try
Comment 1 Funda Wang 2010-10-29 05:03:20 UTC
The same error here:

/tmp/kdenetwork4/BUILD/kdenetwork-4.5.74svn1190490/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc: In member function 'virtual int cricket::LinphoneMediaChannel::GetOutputLevel()':
/tmp/kdenetwork4/BUILD/kdenetwork-4.5.74svn1190490/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc:205:45: error: no return statement in function returning non-void
/tmp/kdenetwork4/BUILD/kdenetwork-4.5.74svn1190490/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc: In member function 'virtual int cricket::LinphoneMediaEngine::SetAudioOptions(int)':
/tmp/kdenetwork4/BUILD/kdenetwork-4.5.74svn1190490/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc:246:56: error: no return statement in function returning non-void
/tmp/kdenetwork4/BUILD/kdenetwork-4.5.74svn1190490/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc: At global scope:
/tmp/kdenetwork4/BUILD/kdenetwork-4.5.74svn1190490/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc:246:5: warning: unused parameter 'options'
/tmp/kdenetwork4/BUILD/kdenetwork-4.5.74svn1190490/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc: In member function 'virtual int cricket::LinphoneMediaEngine::SetSoundDevices(int, int)':
/tmp/kdenetwork4/BUILD/kdenetwork-4.5.74svn1190490/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc:247:84: error: no return statement in function returning non-void
/tmp/kdenetwork4/BUILD/kdenetwork-4.5.74svn1190490/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc: At global scope:
/tmp/kdenetwork4/BUILD/kdenetwork-4.5.74svn1190490/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc:247:5: warning: unused parameter 'wave_in_device'
/tmp/kdenetwork4/BUILD/kdenetwork-4.5.74svn1190490/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc:247:5: warning: unused parameter 'wave_out_device'
/tmp/kdenetwork4/BUILD/kdenetwork-4.5.74svn1190490/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc: In member function 'virtual float cricket::LinphoneMediaEngine::GetCurrentQuality()':
/tmp/kdenetwork4/BUILD/kdenetwork-4.5.74svn1190490/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc:249:49: error: no return statement in function returning non-void
/tmp/kdenetwork4/BUILD/kdenetwork-4.5.74svn1190490/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc: In member function 'virtual int cricket::LinphoneMediaEngine::GetInputLevel()':
/tmp/kdenetwork4/BUILD/kdenetwork-4.5.74svn1190490/kopete/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc:250:43: error: no return statement in function returning non-void
Comment 2 Alex Merry 2010-11-09 17:50:09 UTC
SVN commit 1194725 by alexmerry:

Fix build: fixes backported (where appropriate) from libjingle trunk.

BUG: 255561



 M  +2 -0      base/stringencode.cc  
 M  +5 -5      session/phone/linphonemediaengine.cc  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1194725