When building with MSVC add a couple of new pragmas to cut down on the most frequent...
authorJohn Emmas <johne53@tiscali.co.uk>
Fri, 13 Feb 2015 11:37:00 +0000 (11:37 +0000)
committerJohn Emmas <johne53@tiscali.co.uk>
Fri, 13 Feb 2015 11:37:00 +0000 (11:37 +0000)
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'

msvc_extra_headers/ardourext/sys/targetsxs.h.input

index e508df083dd761af429ce52781d30dd067594ddd..6569407ac8511455ccd702f93acc5e56bcbfd4fb 100644 (file)
@@ -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