Source: openttd
Version: 1.4.4-2

It failed to build in Jessie, amd64 and arm64. In each case the error
was:

/«PKGBUILDDIR»/src/fontcache.cpp: In member function 'virtual const Sprite* Free
TypeFontCache::GetGlyph(GlyphID)':
/«PKGBUILDDIR»/src/fontcache.cpp:530:66: error: no matching function
for call to 'max(int, unsigned int)'
  int width  = max(1, slot->bitmap.width + (this->fs == FS_NORMAL));
                                                                  ^
/«PKGBUILDDIR»/src/fontcache.cpp:530:66: note: candidate is:
In file included from /«PKGBUILDDIR»/src/fontcache.cpp:16:0:
/«PKGBUILDDIR»/src/core/math_func.hpp:38:17: note: template<class T> T max(T, T)
 static inline T max(const T a, const T b)
                 ^
/«PKGBUILDDIR»/src/core/math_func.hpp:38:17: note:   template argument
deduction/substitution failed:
/«PKGBUILDDIR»/src/fontcache.cpp:530:66: note:   deduced conflicting
types for parameter 'T' ('int' and 'unsigned int')
  int width  = max(1, slot->bitmap.width + (this->fs == FS_NORMAL));
                                                                  ^


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

Reply via email to