Frank S. Thomas a écrit :
> Hi (I'm not subscribed to debian-mips, so please CC me on replies),
> 
> The orsa package version 0.7.0-8 failed to build on mips and mipsel (buildds 
> ball and rem, see [1], [2]) due to this errors:
> 
>   xorsa_wrapper.cc:151: error: 'vsnprintf' is not a member of 'std'
>   xorsa_wrapper.cc:153: error: 'snprintf' is not a member of 'std'
> 
> The same error occured on arm, on all other architectures orsa 0.7.0-8 built 
> fine. I'm not sure but to me this looks like a bug in gcc. Does anybody here 
> know if this was fixed in the meanwhile so that a "give-back" on these 
> architectures suffices or how else this can be fixed?
> 

snprintf and vsnprintf are not C++ functions but C functions so they are
not in the namespace std, but in the namespace ::.

Also the file is missing a #include <cstdlib>.

-- 
  .''`.  Aurelien Jarno             | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [EMAIL PROTECTED]         | [EMAIL PROTECTED]
   `-    people.debian.org/~aurel32 | www.aurel32.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to