classifier_tester, cntraining, combine_lang_model, lstmeval, lstmtraining,
mftraining, set_unicharset_properties, shapeclustering, text2image and
unicharset_extractor now can show the version.
Still missing: ambiguous_words, combine_tessdata, dawg2wordlist,
merge_unicharsets and wordlist2dawg.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Warning C4996: 'access': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _access.
Signed-off-by: Noah Metzger <noah.metzger@bib.uni-mannheim.de>
Building with G++ on Darwin breaks when either AVX, AVX2, or SSE4.1
compiler option is set, unless G++ is actually CLANG.
This commit allows to build with G++, by asking G++ to delegate assembly
to the clang integrated assembler, instead of the GNU one.
Use the predefined macros for the lengths of drive, dir and path.
This avoids potential buffer overruns.
Show also an error message in case of a too long path.
Signed-off-by: Noah Metzger <noah.metzger@bib.uni-mannheim.de>
Commit f9157fd91d changed the rules for
the documentation, so make always tried to build it and failed if
asciidoc was missing since that commit.
Now configure tests whether asciidoc is available and builds the
documentation conditionally. It also reports that to the user.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
That macro disables automated updates when configure.ac or a Makefile.am
changes. Normally those updates are wanted because users typically
forget running ./autogen.sh.
See also the GNU documentation why AM_MAINTAINER_MODE should not be used:
https://www.gnu.org/software/automake/manual/html_node/maintainer_002dmode.html
Signed-off-by: Stefan Weil <sw@weilnetz.de>
* classify/adaptive: Fix warnings from Doxygen
Signed-off-by: Stefan Weil <sw@weilnetz.de>
* classify/clusttool: Fix warnings from Doxygen and remove wrong API function
Remove the function ReadProtoStyle because it did not match
the documentation. It was only used locally.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
* classify/cutoffs: Fix warnings from Doxygen
Signed-off-by: Stefan Weil <sw@weilnetz.de>
* classify/intproto: Fix warnings from Doxygen
Signed-off-by: Stefan Weil <sw@weilnetz.de>
* classify/normmatch: Fix warnings from Doxygen
Signed-off-by: Stefan Weil <sw@weilnetz.de>
As Tesseract now uses semantic versioning, the old method to calculate
the library version was no longer valid.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
The method is called with a float argument several times, and the
previous implementation which only supported a double argument
resulted in type conversions and compiler warnings.
Signed-off-by: Stefan Weil <sw@weilnetz.de>