-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Use POSIX data types and macros #878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Ray, this commit has a high probability to conflict with your work, so please select single commits as you like or just tell me which changes can be applied next or when is the best time for such changes. It would be good to finish the transformation to POSIX data types and macros in the not too far future. |
Rebased PR to trigger a new AppVeyor build (previous build failed, reason unknown). |
I'm working towards fast and not silent builds on appveyor, but it could take 1-2 month. (cppan related) |
Could we just remove the i/o redirection in |
This will make build times up to near 1 hour or even 1+ which is impossible on appveyor. |
Appveyor also supports caching. That could reduce build time significantly. |
Nice. I'll investigate this, thanks! |
d2c98c5
to
70b2875
Compare
Build now works. The previous errors were caused by ambiguous calls of Appveyor needed about 30 minutes total time with i/o redirection removed. |
4a956c6
to
9e832e4
Compare
Fixed merge conflicts and rebased PR. |
Fixed merge conflicts and rebased PR. |
a0cea41
to
b123142
Compare
Fixed merge conflicts and rebased PR. |
@theraysmith, as you are just preparing a new larger code change: is it possible to use POSIX data types for the new / modified code, and can we switch to POSIX for the rest of the code directly after your update? |
The best time to switch to POSIX types is after the legacy engine is
removed, otherwise it is just a waste of time merging it and reviewing it.
…On Thu, Jul 13, 2017 at 1:19 AM, Stefan Weil ***@***.***> wrote:
@theraysmith <https://github.com./theraysmith>, as you are just preparing
a new larger code change: is it possible to use POSIX data types for the
new / modified code, and can we switch to POSIX for the rest of the code
directly after your update?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#878 (comment)>,
or mute the thread
<https://github.com./notifications/unsubscribe-auth/AL056WoPKurkhF6p7FaQbU71cN6cqaAfks5sNdMigaJpZM4NRHiF>
.
--
Ray.
|
Rebased PR and fixed merge conflicts. |
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Now all Tesseract data types which are no longer needed can be removed from ccutil/host.h. Signed-off-by: Stefan Weil <[email protected]>
…INT*_MAX Signed-off-by: Stefan Weil <[email protected]>
… *INT*_MAX Signed-off-by: Stefan Weil <[email protected]>
… *INT*_MAX Signed-off-by: Stefan Weil <[email protected]>
…T*_MAX Signed-off-by: Stefan Weil <[email protected]>
…T*_MAX Signed-off-by: Stefan Weil <[email protected]>
…*INT*_MAX Signed-off-by: Stefan Weil <[email protected]>
…*INT*_MAX Signed-off-by: Stefan Weil <[email protected]>
…INT*_MAX Remove the macros which are now unused from ccutil/host.h. Remove also the obsolete history comments. Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Error message vom Appveyor CI: C:\projects\tesseract\ccstruct\coutln.cpp(818): error C2672: 'ClipToRange': no matching overloaded function found [C:\projects\tesseract\build\libtesseract.vcxproj] C:\projects\tesseract\ccstruct\coutln.cpp(818): error C2782: 'T ClipToRange(const T &,const T &,const T &)': template parameter 'T' is ambiguous [C:\projects\tesseract\build\libtesseract.vcxproj] c:\projects\tesseract\ccutil\helpers.h(122): note: see declaration of 'ClipToRange' C:\projects\tesseract\ccstruct\coutln.cpp(818): note: could be 'char' C:\projects\tesseract\ccstruct\coutln.cpp(818): note: or 'int' Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Fixed merge conflicts and rebased. |
Can this be merge now? |
That would be great! But what about Ray's comment (see above)? |
He promised to deliver code beginning of August 2017... ;-) And based on Jeff info there will be no new code soon... |
No description provided.