ecit241 / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

tesseract fails to compile with -Werror=format-security #1318

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to compile with -Werror=format-security in your compiler options
2.
3.

What version of the product are you using? On what operating system?

Tesseract version 3.03_rc1 on Gentoo Linux

Please provide any additional information below.

I'm the maintainer for tesseract in Gentoo Linux.  Here is the downstream bug 
report:
https://bugs.gentoo.org/show_bug.cgi?id=521260

Original issue reported on code.google.com by feynma...@gmail.com on 19 Sep 2014 at 1:25

GoogleCodeExporter commented 9 years ago
I can not reproduce it with current code from git repository (openSUSE 13.1 
64bit with gcc 4.8.1):

    CXXFLAGS="-march=native -Wformat -Werror=format-security" ../tesseract-ocr/configure --prefix=/usr --enable-debug
    make 2>&1 | tee make.log
    make training 2>&1 | tee make-training.lo

Original comment by zde...@gmail.com on 19 Sep 2014 at 6:51

Attachments:

GoogleCodeExporter commented 9 years ago
Yes, sorry for the noise.  Somebody reported this bug for 3.02 and had not 
tried the most recent version which works.

Original comment by feynma...@gmail.com on 19 Sep 2014 at 7:09

GoogleCodeExporter commented 9 years ago
No problem. It better to do double check.

Original comment by zde...@gmail.com on 19 Sep 2014 at 9:00