Apache OpenOffice (AOO) Bugzilla – Issue 118517
Update standard twain.h header to version 2.1
Last modified: 2016-04-07 08:28:01 UTC
Created attachment 76894 [details] Update twain from 1.9 to 2.1 (+mingw32) OOo was using the twain header version 1.9. The new versions have nice features: Version 2.0 – Unix/Linux support, check scanning support, open source, 64-bit Version 2.1 – Supported on Windows 7 (32 and 64 bit), support for automatic color detection I took the basic ideas from our local patches to add support for mingw32. It is however untested so I will leave it here for a while for testers.
Hi Pedro, Do you think that this improvement will be integrated for 3.4 release?
Hi; Yes, I'd like to commit it but I need confirmation that it doesn't break the build on Windows.
*** Issue 106143 has been marked as a duplicate of this issue. ***
Created attachment 76934 [details] mingw32 isa now a special case of GNUC Update: mingw32 is actually a special case of __GNUC__ and is valid also for 64 bits. This patch preserves the original working order.
I was wondering why not many projects have updated this and why there doesn't seem to be mingw patches available. Ming32 seems to be a bit weird as it sets __GNUC__ but according to the Wine guys it looks like also defines itself as WIN32. Maybe the original twain header works fine with Ming32 but JIC, I made a workaround that should work with Mingw64 too: Mingw32 will be detected early and the 32 or 64 bit flags will be set as if it were a Microsoft compiler but it will be forced to behave as with our previous twain versions. I haven't had feedback on the previous patches but this one seems bulletproof. twain/inc/twain.h Committed as revision 1190602.
getting rid of value "enhancement" for field "severity". For enhancement the field "issue type" shall be used.