[sane-devel] problem with sane-backends-1.0.28 and gnu c++ 4.9.0

Povilas Kanapickas povilas at radix.lt
Sat Sep 28 05:54:52 BST 2019


Hi,

On 9/27/19 12:50 AM, r. a. schmied wrote:
> platform: Solaris 10 10/09 s10s_u8wos_08a SPARC
> compiler: g++ (GCC) 4.9.0
> scanner: canoscan lide200 (genesys gl847)
> usblib: 0.1.7 (shipped with solaris)
> 
> notes: sane-backends 1.0.27 and sane-backends-master-e13b80fa built
>       and work so issue is with new c++ genesys implementation or
>       in other words my antiquated system and tools
> 
> i have tried -std=c++11, -std=c++14, -std=gnu++11 and -std=gnu++14 without
> any change so either my c++ math headers are inadequate or i need
> additional
> pow overloading declarations or ???.
> 
> i have also tried -D__EXTENSIONS__ with no change either.
> 
> these 3 errors seem to be the only ones being encountered at compile
> time, but linkedit and runtime may reveal others ...
>  39:genesys.cc:761:61: error: call of overloaded 'pow(float, double)' is
> ambiguous
>  57:genesys.cc:1308:35: error: call of overloaded 'pow(int, uint8_t&)'
> is ambiguous
>  236:genesys_low.cc:157:48: error: call of overloaded 'pow(int, int&)'
> is ambiguous

Thanks for the bug report. I think this PR
https://gitlab.com/sane-project/backends/merge_requests/182 should fix
it once it lands. Once that happens, could you check the latest master
for any further issues?

Regards,
Povilas





More information about the sane-devel mailing list