Sun Studio build failure in Strigi

Alexander Neundorf neundorf at kde.org
Mon Nov 23 22:32:12 CET 2009


Hi,

kdesupport/strigi/ currently doesn't build with the Sun Studio compiler:
http://my.cdash.org/viewBuildError.php?buildid=38730

That's the code which is causing the problem:

int32_t
SkippingFileInputStream::read(const char*& start, int32_t _min, int32_t _max) 
{
    int32_t n = max(_min, _max);
    if (n > buffersize) {

Should this be a std::max() ?
Is an additional #include <algorithm> required ?

Alex


More information about the Kde-buildsystem mailing list