AmitGorvadiya / tesseract-ocr

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

code problem: WERD_CHOICE list #339

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

There seems to be a problem in the code ccstruct\ratngs.h: how WERD_CHOICE made 
listable. In the header the WERD_CHOICE list is defined with ELISTIZEH macro, 
but implemented using CLISTIZE macro in ratngs.cpp. This makes my linker(VS 
2008) complain of "unresolved symbol WERD_CHOICE_zapper" in my project. The 
attached change made my linker happy. 

I'm not sure though which macro should be used to define the list CLISTIZEH or 
ELISTIZEH, so I wonder if there can be any drawbacks of that fix. CLIST seems 
to be more safe...

Original issue reported on code.google.com by max.mar...@gmail.com on 27 Jul 2010 at 7:54

Attachments:

GoogleCodeExporter commented 9 years ago
committed in r443

Original comment by joregan on 27 Jul 2010 at 3:07