I get these warnings while compiling tesseract - any suggestions on what to change to fix this ...
User@HP ~/source $ ./buildtess.sh Fetching origin remote: Counting objects: 4, done. Unpacking objects: 100% (4/4), done. >From https://code.google.com/p/tesseract-ocr c0640a4..4c01561 master -> origin/master start autogen configure.ac:243: installing 'config/compile' configure.ac:60: installing 'config/install-sh' configure.ac:60: installing 'config/missing' api/Makefile.am: installing 'config/depcomp' start configure start make start make install pdfrenderer.cpp: In member function 'virtual bool tesseract::TessPDFRenderer::BeginDocumentHandler()': pdfrenderer.cpp:397:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (fread(buffer, 1, size, fp) != size) { ^ pdfrenderer.cpp: In member function 'virtual bool tesseract::TessPDFRenderer::EndDocumentHandler()': pdfrenderer.cpp:662:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t i = 0; i < pages_.size(); i++) { ^ start make training rm -f ambiguous_words.exe classifier_tester.exe cntraining.exe combine_tessdata.exe dawg2wordlist.exe mftraining.exe set_unicharset_properties.exe shapeclustering.exe text2image.exe unicharset_extractor.exe wordlist2dawg.exe rm -f ambiguous_words classifier_tester cntraining combine_tessdata dawg2wordlist mftraining set_unicharset_properties shapeclustering text2image unicharset_extractor wordlist2dawg rm -rf .libs _libs rm -rf ../vs2010/port/.libs ../vs2010/port/_libs test -z "libtesseract_training.la libtesseract_tessopt.la" || rm -f libtesseract_training.la libtesseract_tessopt.la rm -f ./so_locations rm -f *.o rm -f ../vs2010/port/*.o rm -f ../vs2010/port/*.lo rm -f *.lo boxchar.cpp: In static member function 'static void tesseract::BoxChar::TranslateBoxes(int, int, std::vector<tesseract::BoxChar*>*)': boxchar.cpp:47:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < boxes->size(); ++i) { ^ boxchar.cpp: In static member function 'static void tesseract::BoxChar::WriteTesseractBoxFile(const string&, int, const std::vector<tesseract::BoxChar*>&)': boxchar.cpp:97:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < boxes.size(); ++i) { ^ boxchar.cpp:116:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (j < boxes.size() && boxes[j]->box_ == NULL) ++j; ^ boxchar.cpp:117:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (j < boxes.size() && boxes[i - 1]->page_ == boxes[j]->page_) { ^ commandlineflags.cpp: In function 'void tesseract::ParseCommandLineFlags(const char*, int*, char***, bool)': commandlineflags.cpp:148:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 1; i < *argc; ++i) { ^ commandlineflags.cpp:202:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i + 1 >= *argc) { ^ commandlineflags.cpp:234:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i + 1 >= *argc) { ^ commandlineflags.cpp:283:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i + 1 >= *argc) { ^ commontraining.cpp: In function 'void ReadTrainingSamples(const FEATURE_DEFS_STRUCT&, const char*, int, UNICHARSET*, FILE*, list_rec**)': commontraining.cpp:443:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < char_desc->NumFeatureSets; i++) { ^ normstrngs.cpp: In function 'bool tesseract::IsUTF8Whitespace(const char*)': normstrngs.cpp:183:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return SpanUTF8Whitespace(text) == strlen(text); ^ pango_font_info.cpp: In static member function 'static void tesseract::FontUtils::GetAllRenderableCharacters(const std::vector<std::basic_string<char> >&, std::vector<bool>*)': pango_font_info.cpp:597:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < fonts.size(); ++i) { ^ pango_font_info.cpp: In static member function 'static std::string tesseract::FontUtils::BestFonts(const std::unordered_map<int, long long int>&, std::vector<std::pair<const char*, std::vector<bool> > >*)': pango_font_info.cpp:661:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < font_names.size(); ++i) { ^ pango_font_info.cpp:686:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < font_names.size(); ++i) { ^ pango_font_info.cpp: In static member function 'static bool tesseract::FontUtils::SelectFont(const char*, int, const std::vector<std::basic_string<char> >&, std::string*, std::vector<std::basic_string<char> >*)': pango_font_info.cpp:721:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < all_fonts.size(); ++i) { ^ stringrenderer.cpp: In member function 'void tesseract::StringRenderer::SetWordUnderlineAttributes(const string&)': stringrenderer.cpp:232:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (offset < page_text.length()) { ^ stringrenderer.cpp:234:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (offset == page_text.length()) break; ^ stringrenderer.cpp: In member function 'void tesseract::StringRenderer::ClearBoxes()': stringrenderer.cpp:327:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < boxchars_.size(); ++i) ^ stringrenderer.cpp: In function 'void tesseract::MergeBoxCharsToWords(std::vector<tesseract::BoxChar*>*)': stringrenderer.cpp:396:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < boxchars->size(); ++i) { ^ stringrenderer.cpp: In member function 'void tesseract::StringRenderer::ComputeClusterBoxes()': stringrenderer.cpp:461:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < cluster_start_indices.size() - 1; ++i) { ^ stringrenderer.cpp:574:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < page_boxchars.size(); ++i) { ^ stringrenderer.cpp: In member function 'int tesseract::StringRenderer::StripUnrenderableWords(std::string*) const': stringrenderer.cpp:605:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (offset < utf8_text->length()) { ^ stringrenderer.cpp:609:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (offset == utf8_text->length()) break; ^ stringrenderer.cpp: In member function 'int tesseract::StringRenderer::RenderAllFontsToImage(double, const char*, int, std::string*, Pix**)': stringrenderer.cpp:845:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = font_index_; i < all_fonts.size(); ++i) { ^ text2image.cpp: In function 'std::string tesseract::StringReplace(const string&, const string&, const string&)': text2image.cpp:193:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pos == string::npos) break; ^ text2image.cpp: In function 'void tesseract::ExtractFontProperties(const string&, tesseract::StringRenderer*, const string&)': text2image.cpp:238:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int b = 0; b < boxes.size(); b += 2) { ^ text2image.cpp:239:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (b < boxes.size() && IsWhitespaceBox(boxes[b])) ++b; ^ text2image.cpp:240:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (b + 1 >= boxes.size()) break; ^ text2image.cpp: In function 'int main(int, char**)': text2image.cpp:420:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < all_fonts.size(); ++i) { ^ text2image.cpp:523:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0, line = 1; i < offsets.size(); ++i) { ^ text2image.cpp:532:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rand_utf8.length() > line * kCharsPerLine) { ^ text2image.cpp:564:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int offset = 0; offset < strlen(to_render_utf8); ++im, ++page_num) { ^ text2image.cpp:639:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < font_names.size(); ++i) { ^ start test Tesseract Open Source OCR Engine v3.04.00 with Leptonica Page 1 Warning in pixReadMemTiff: tiff page 1 not found User@HP ~/source $ which gcc /mingw32/bin/gcc User@HP ~/source $ g++ -v Using built-in specs. COLLECT_GCC=C:\msys32\mingw32\bin\g++.exe COLLECT_LTO_WRAPPER=C:/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/lto-wrapper.exe Target: i686-w64-mingw32 Configured with: ../gcc-4.9.1/configure --prefix=/mingw32 --with-local-prefix=/mingw32/local --build=i686-w64-mingw32 --host=i686-w64-mingw32 --target=i686-w64-mingw32 --with-native-system-header-dir=/mingw32/i686-w64-mingw32/include --libexecdir=/mingw32/lib --with-gxx-include-dir=/mingw32/include/c++/4.9.1 --enable-bootstrap --with-arch=i686 --with-tune=generic --enable-languages=c,lto,c++,objc,obj-c++,fortran,ada --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-time=yes --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-cloog-backend=isl --enable-version-specific-runtime-libs --disable-cloog-version-check --disable-isl-version-check --enable-lto --enable-libgomp --disable-multilib --enable-checking=release --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/mingw32 --with-mpfr=/mingw32 --with-mpc=/mingw32 --with-isl=/mingw32 --with-cloog=/mingw32 --with-pkgversion='Rev3, Built by MSYS2 project' --with-bugurl=http://sourceforge.net/projects/msys2 --with-gnu-as --with-gnu-ld --disable-sjlj-exceptions --with-dwarf2 Thread model: posix gcc version 4.9.1 (Rev3, Built by MSYS2 project) -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduXht%2BhbaNHyyBQ7cKzXJ346wx5RUwXoAq2AchE7-%3D%2BHjg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

