[Debian-med-packaging] Bug#813281: libcereal: FTBFS on powerpc: call of overloaded 'loadValue(char&)' is ambiguous

Aaron M. Ucko amu at alum.mit.edu
Sun Jan 31 05:27:24 UTC 2016


Source: libcereal
Version: 1.1.2-1
Severity: important
Justification: fails to build from source

The powerpc build of libcereal failed:

  /«PKGBUILDDIR»/./include/cereal/archives/xml.hpp:856:5: error: call of overloaded 'loadValue(char&)' is ambiguous
       ar.loadValue( t );
       ^
  /«PKGBUILDDIR»/./include/cereal/archives/xml.hpp:508:12: note: candidate: void cereal::XMLInputArchive::loadValue(T&) [with T = char; typename cereal::traits::detail::EnableIfHelper<std::is_integral<_Tp>::value, (! std::is_same<T, bool>::value), (sizeof (T) == sizeof (char))>::type <anonymous> = (cereal::traits::detail::type)0]
         void loadValue( T & value )
              ^
  /«PKGBUILDDIR»/./include/cereal/archives/xml.hpp:530:12: note: candidate: void cereal::XMLInputArchive::loadValue(T&) [with T = char; typename cereal::traits::detail::EnableIfHelper<std::is_unsigned<_Tp>::value, (! std::is_same<T, bool>::value), (! std::is_same<T, unsigned char>::value), (sizeof (T) < sizeof (long long int))>::type <anonymous> = (cereal::traits::detail::type)0]
         void loadValue( T & value )
              ^

Could you please take a look?  FWIW, plain char is traditionally
unsigned on powerpc.

Thanks!



More information about the Debian-med-packaging mailing list