提交 38a6b18a 编写于 作者: J joregan

disable MSVC warning C4244 in a number of places to cut down the noise

git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@363 d0cd1f9f-072b-0410-8dd7-cf729c803f20
上级 c7d32234
......@@ -23,6 +23,10 @@
#include "config_auto.h"
#endif
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#ifdef HAVE_LIBLEPT
// Include leptonica library only if autoconf (or makefile etc) tell us to.
#include "allheaders.h"
......
......@@ -17,6 +17,10 @@
*
**********************************************************************/
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include <ctype.h>
#include "docqual.h"
......
......@@ -17,6 +17,10 @@
*
**********************************************************************/
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include <string.h>
#include <ctype.h>
......
......@@ -27,6 +27,10 @@
* current row's calculation.
************************************************************************/
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include <stdio.h>
#include <stdlib.h>
......
......@@ -17,6 +17,10 @@
*
**********************************************************************/
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include "ocrshell.h"
#include <string.h>
......
......@@ -17,6 +17,10 @@
*
**********************************************************************/
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include "pagewalk.h"
#include "tesseractclass.h"
......
......@@ -17,6 +17,10 @@
*
**********************************************************************/
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include "blobcmp.h"
#include "tfacep.h"
......
......@@ -24,6 +24,10 @@
* size.
*************************************************************************/
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include <stdlib.h>
#include <string.h>
......
......@@ -17,6 +17,10 @@
*
**********************************************************************/
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include "tfacep.h"
#include "tfacepp.h"
......
......@@ -18,6 +18,10 @@
//
///////////////////////////////////////////////////////////////////////
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "colfind.h"
#include "colpartition.h"
#include "colpartitionset.h"
......
......@@ -22,6 +22,10 @@
#include "colpartitionset.h"
#include "workingpartset.h"
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
namespace tesseract {
ELIST2IZE(ColPartition)
......
......@@ -18,6 +18,10 @@
//
///////////////////////////////////////////////////////////////////////
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "imagefind.h"
#include "varable.h"
......
......@@ -18,6 +18,10 @@
//
///////////////////////////////////////////////////////////////////////
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "linefind.h"
#include "alignedblob.h"
#include "tabvector.h"
......
......@@ -22,6 +22,9 @@
#else
#include <unistd.h>
#endif
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
......
......@@ -17,6 +17,10 @@
//
///////////////////////////////////////////////////////////////////////
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "strokewidth.h"
#include "blobbox.h"
#include "tabfind.h"
......
......@@ -17,6 +17,10 @@
//
///////////////////////////////////////////////////////////////////////
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "colfind.h"
#include <math.h>
#ifdef HAVE_CONFIG_H
......
......@@ -17,6 +17,10 @@
//
///////////////////////////////////////////////////////////////////////
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "tabvector.h"
#include "blobbox.h"
#include "colfind.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册