summaryrefslogtreecommitdiff
path: root/newstructure/thirdparty/linux/include/coin/CoinPragma.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'newstructure/thirdparty/linux/include/coin/CoinPragma.hpp')
-rw-r--r--newstructure/thirdparty/linux/include/coin/CoinPragma.hpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/newstructure/thirdparty/linux/include/coin/CoinPragma.hpp b/newstructure/thirdparty/linux/include/coin/CoinPragma.hpp
new file mode 100644
index 0000000..b9f8cd2
--- /dev/null
+++ b/newstructure/thirdparty/linux/include/coin/CoinPragma.hpp
@@ -0,0 +1,26 @@
+/* $Id: CoinPragma.hpp 1372 2011-01-03 23:31:00Z lou $ */
+// Copyright (C) 2000, International Business Machines
+// Corporation and others. All Rights Reserved.
+// This code is licensed under the terms of the Eclipse Public License (EPL).
+
+#ifndef CoinPragma_H
+#define CoinPragma_H
+
+//-------------------------------------------------------------------
+//
+// This is a file which can contain Pragma's that are
+// generally applicable to any source file.
+//
+//-------------------------------------------------------------------
+
+#if defined(_MSC_VER)
+// Turn off compiler warning about long names
+# pragma warning(disable:4786)
+// Turn off compiler warning:
+// "empty controlled statement found; is this the intent?"
+# pragma warning(disable:4390)
+// Turn off compiler warning about deprecated functions
+# pragma warning(disable:4996)
+#endif
+
+#endif