[MacPorts] #50118: tesseract-3.04.00 | Snow Leopard 10.6.8 | long integers in helper.h file

MacPorts noreply at macports.org
Wed Dec 23 02:20:51 PST 2015


#50118: tesseract-3.04.00 | Snow Leopard 10.6.8 | long integers in helper.h file
-----------------------+--------------------------------
 Reporter:  drennan@…  |      Owner:  macports-tickets@…
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.3.4
 Keywords:             |       Port:  tesseract-3.04.00
-----------------------+--------------------------------
 Tesseract 3.04 wouldn't compile on Snow Leopard 10.6.8; error message
 pointed to the helpers.h file, and the seed integers which seemed to be
 too large. I changed them to smaller numbers, and changed instances of
 "64" to "32", and it is compiling now, but giving warnings:


 {{{
 ../ccutil/helpers.h:50: warning: right shift count >= width of type
 }}}

 Tesseract compiles with this change, but everything that makes reference
 to this header file complains (of course).

 I know this is not the solution; I just wanted to test for myself to see
 if this was the problem.

 I wish I knew enough to propose a solution, so apologies for that lack in
 advance.

-- 
Ticket URL: <https://trac.macports.org/ticket/50118>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list