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
This commit is contained in:
joregan 2010-05-26 10:22:27 +00:00
parent c7d32234ff
commit 38a6b18a5f
17 changed files with 67 additions and 0 deletions

View File

@ -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"

View File

@ -17,6 +17,10 @@
*
**********************************************************************/
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include <ctype.h>
#include "docqual.h"

View File

@ -17,6 +17,10 @@
*
**********************************************************************/
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include <string.h>
#include <ctype.h>

View File

@ -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>

View File

@ -17,6 +17,10 @@
*
**********************************************************************/
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include "ocrshell.h"
#include <string.h>

View File

@ -17,6 +17,10 @@
*
**********************************************************************/
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include "pagewalk.h"
#include "tesseractclass.h"

View File

@ -17,6 +17,10 @@
*
**********************************************************************/
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include "blobcmp.h"
#include "tfacep.h"

View File

@ -24,6 +24,10 @@
* size.
*************************************************************************/
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include <stdlib.h>
#include <string.h>

View File

@ -17,6 +17,10 @@
*
**********************************************************************/
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "mfcpch.h"
#include "tfacep.h"
#include "tfacepp.h"

View File

@ -18,6 +18,10 @@
//
///////////////////////////////////////////////////////////////////////
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "colfind.h"
#include "colpartition.h"
#include "colpartitionset.h"

View File

@ -22,6 +22,10 @@
#include "colpartitionset.h"
#include "workingpartset.h"
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
namespace tesseract {
ELIST2IZE(ColPartition)

View File

@ -18,6 +18,10 @@
//
///////////////////////////////////////////////////////////////////////
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "imagefind.h"
#include "varable.h"

View File

@ -18,6 +18,10 @@
//
///////////////////////////////////////////////////////////////////////
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "linefind.h"
#include "alignedblob.h"
#include "tabvector.h"

View File

@ -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

View File

@ -17,6 +17,10 @@
//
///////////////////////////////////////////////////////////////////////
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "strokewidth.h"
#include "blobbox.h"
#include "tabfind.h"

View File

@ -17,6 +17,10 @@
//
///////////////////////////////////////////////////////////////////////
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "colfind.h"
#include <math.h>
#ifdef HAVE_CONFIG_H

View File

@ -17,6 +17,10 @@
//
///////////////////////////////////////////////////////////////////////
#ifdef _MSC_VER
#pragma warning(disable:4244) // Conversion warnings
#endif
#include "tabvector.h"
#include "blobbox.h"
#include "colfind.h"