#include <Airports/simple.hxx>
#include <Main/globals.hxx>
+#ifdef _MSC_VER
+# pragma warning( push )
+# pragma warning( disable: 4355 )
+#endif
+
///////////////////////////////////////////////////////////////////////////////
// MK_VIII ////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
virtual void update (double dt);
};
+#ifdef _MSC_VER
+# pragma warning( pop )
+#endif
+
#endif // __INSTRUMENTS_MK_VIII_HXX
fx->play_message( path, file, volume );
return true;
- } catch (const sg_io_exception& e) {
+ } catch (const sg_io_exception&) {
SG_LOG(SG_GENERAL, SG_ALERT, "play-audio-sample: "
"failed to load" << path << '/' << file);
return false;
//
// This file is in the Public Domain, and comes with no warranty.
+#ifdef _MSC_VER
+# pragma warning( disable: 4355 )
+#endif
+
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
pitch = testNan(instance->pitch_deg_node->getDoubleValue());
if (instance->heading_deg_node != 0)
heading = testNan(instance->heading_deg_node->getDoubleValue());
- } catch (const sg_range_exception& e) {
+ } catch (const sg_range_exception&) {
const char *path = instance->node->getStringValue("path",
"unknown");
SG_LOG(SG_GENERAL, SG_INFO, "Instance of model " << path