]> git.mxchange.org Git - flightgear.git/commitdiff
Try to fix build error for msvc
authorTorsten Dreyer <torsten@t3r.de>
Sat, 10 May 2014 13:49:50 +0000 (15:49 +0200)
committerTorsten Dreyer <torsten@t3r.de>
Sat, 10 May 2014 13:49:50 +0000 (15:49 +0200)
src/Sound/flitevoice.hxx
src/Sound/voice.cxx

index f1315276b3c3584fe32b87f7acf6be154a414a40..ee616e8ed8f2b0e6ed569537c319ca6faaf735dc 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "voice.hxx"
 #include <simgear/sound/soundmgr_openal.hxx>
+#include <simgear/sound/sample_openal.hxx>
 #include <simgear/threads/SGQueue.hxx>
 
 class VoiceSynthesizer;
index 25355a949a8e3259633cd18c461aea8dfeefce99..e276873e280b505f9f70a1472927b12891f2ce91 100644 (file)
@@ -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" );
       }
     }