My favorites | Sign in
Google
                
New issue | Search
for
| Advanced search | Search tips
Issue 39: public header host.h includes config_auto.h
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Aug 2007
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by bersace, Jun 30, 2007
Hi,

What steps will reproduce the problem?
1. Get tesseract SVN, build and install
2. Take a software using tesseract headers and autotools including autoheader.
3. If the software includes host.h (directly or indirectly), host.h tries
to include config_auto.h because HAVE_CONFIG_H is defined.

What is the expected output? What do you see instead?
host.h must not rely on config_auto.h

What version of the product are you using? On what operating system?
SVN (r72)

Please provide any additional information below.
Attached a patch adding a host-private.h header depending on config_auto.h.

Best regards.
dont-use-config_auto-h-in-host-h.patch
3.4 KB   Download
Comment 1 by theraysmith, Aug 24, 2007
Will be fixed in the next release.
Status: Started
Comment 2 by theraysmith, Aug 30, 2007
Fixed in 2.01
Status: Fixed
Sign in to add a comment