summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2015-02-13 11:37:00 +0000
committerJohn Emmas <johne53@tiscali.co.uk>2015-02-13 11:37:00 +0000
commit5ec93d18e16f83ff4548ea27379c813c8f42e413 (patch)
tree887d5b97fce7984c2279167bb3058050e95d5a3d
parenta3857b5d2cedd81fd108cbc851ca915eec8c805b (diff)
When building with MSVC add a couple of new pragmas to cut down on the most frequent compiler warnings, namely:-
1) C4244 (conversion loses data) - e.g. when re-assigning a var of (say) int64_t to a lesser type, such as int32_t 2) C4275 (an exported class was derived from a class which is not exportable) - e.g. when deriving classes from std::set, std::exception or some other class which isn't declared with 'dllexport'
-rw-r--r--msvc_extra_headers/ardourext/sys/targetsxs.h.input2
1 files changed, 1 insertions, 1 deletions
diff --git a/msvc_extra_headers/ardourext/sys/targetsxs.h.input b/msvc_extra_headers/ardourext/sys/targetsxs.h.input
index e508df083d..6569407ac8 100644
--- a/msvc_extra_headers/ardourext/sys/targetsxs.h.input
+++ b/msvc_extra_headers/ardourext/sys/targetsxs.h.input
@@ -1,7 +1,7 @@
#ifndef _TARGETSXS_H_
#define _TARGETSXS_H_
-#pragma warning( disable : 4250 4996 )
+#pragma warning( disable : 4244 4250 4275 4996 )
#ifndef LV2_SUPPORT
#define LV2_SUPPORT 1