[commit] r2763 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Fri Oct 19 13:42:01 CDT 2018


Author: ksmyth
Date: Fri Oct 19 13:42:01 2018
New Revision: 2763

Log:
Fix debug compilation

Modified:
   trunk/GME/Gme/GMEApp.cpp

Modified: trunk/GME/Gme/GMEApp.cpp
==============================================================================
--- trunk/GME/Gme/GMEApp.cpp	Fri Oct 19 13:41:58 2018	(r2762)
+++ trunk/GME/Gme/GMEApp.cpp	Fri Oct 19 13:42:01 2018	(r2763)
@@ -3351,3 +3351,14 @@
 	else
 		AfxMessageBox( p_msg);
 }
+
+#ifdef _DEBUG
+extern "C" FILE * __cdecl __iob_func(void)
+{
+	terminate();
+	return NULL;
+}
+
+// https://msdn.microsoft.com/en-us/library/bb531344.aspx#BK_CRT "Visual C++ 2015 Conformance Changes   C Runtime Library(CRT)"
+#pragma comment(lib, "legacy_stdio_definitions.lib")
+#endif


More information about the gme-commit mailing list