mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +08:00
Fix msvc warning.
This commit is contained in:
parent
63be216814
commit
15635203f4
@ -22,8 +22,10 @@
|
||||
|
||||
namespace tesseract {
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Woverlength-strings"
|
||||
#endif
|
||||
inline const char kUniversalAmbigsFile[] = {
|
||||
"v2\n"
|
||||
"'' \" 1\n"
|
||||
@ -19035,7 +19037,9 @@ inline const char kUniversalAmbigsFile[] = {
|
||||
"iXl in 1\n"
|
||||
#endif
|
||||
};
|
||||
#ifndef _MSC_VER
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
inline const int ksizeofUniversalAmbigsFile = sizeof(kUniversalAmbigsFile);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user