[Mobies-commit] [commit] r3989 - UDM/trunk/include

ksmyth at redhat1.isis.vanderbilt.edu ksmyth at redhat1.isis.vanderbilt.edu
Mon Jan 16 09:55:56 CST 2012


Author: ksmyth
Date: Mon Jan 16 09:55:56 2012
New Revision: 3989

Log:
Detect C runtime mismatch

Modified:
   UDM/trunk/include/ErrHand.h

Modified: UDM/trunk/include/ErrHand.h
==============================================================================
--- UDM/trunk/include/ErrHand.h	Thu Jan 12 17:23:32 2012	(r3988)
+++ UDM/trunk/include/ErrHand.h	Mon Jan 16 09:55:56 2012	(r3989)
@@ -37,6 +37,9 @@
 
 
 #ifdef _WIN32
+#ifndef _DLL
+#pragma message("Warning: Udm clients should be compiled under /MD or /MDd")
+#endif
 #if (_MSC_VER == 1600) /* VS2010 */
 #define UDM_NAMESPACE Udm_VS10
 namespace UDM_NAMESPACE {};


More information about the Mobies-commit mailing list