[liblouis-liblouisxml] [liblouis] r1171 committed - Fix for VC++ runtime issue with floating support not being loaded

  • From: liblouis@xxxxxxxxxxxxxx
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 07 May 2014 09:19:09 +0000

Revision: 1171
Author:   mwhapples@xxxxxxxxx
Date:     Wed May  7 09:18:54 2014 UTC
Log:      Fix for VC++ runtime issue with floating support not being loaded
http://code.google.com/p/liblouis/source/detail?r=1171

Modified:
 /trunk/liblouis/compileTranslationTable.c

=======================================
--- /trunk/liblouis/compileTranslationTable.c   Tue May  6 17:09:19 2014 UTC
+++ /trunk/liblouis/compileTranslationTable.c   Wed May  7 09:18:54 2014 UTC
@@ -5191,6 +5191,9 @@
       return;
   if (logCallbackFunction != NULL)
     {
+#ifdef _WIN32
+      float f = 2.3; // Needed to force VC++ runtime floating point support
+#endif
       char *s;
       size_t len;
       va_list argp;
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: