From: Torsten Dreyer Date: Sat, 10 May 2014 13:49:50 +0000 (+0200) Subject: Try to fix build error for msvc X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=98c053792e1fd13d420a510ebd2b033ca345c9dc;p=flightgear.git Try to fix build error for msvc --- diff --git a/src/Sound/flitevoice.hxx b/src/Sound/flitevoice.hxx index f1315276b..ee616e8ed 100644 --- a/src/Sound/flitevoice.hxx +++ b/src/Sound/flitevoice.hxx @@ -25,6 +25,7 @@ #include "voice.hxx" #include +#include #include class VoiceSynthesizer; diff --git a/src/Sound/voice.cxx b/src/Sound/voice.cxx index 25355a949..e276873e2 100644 --- a/src/Sound/voice.cxx +++ b/src/Sound/voice.cxx @@ -95,7 +95,7 @@ void FGVoiceMgr::init() try { _voices.push_back(new FGFestivalVoice(this, voice)); continue; - } catch (const std::string& s) { + } catch (const std::string& ) { SG_LOG(SG_SOUND, SG_WARN, "failed to create festival voice, falling back to flite voice" ); } }