Sun Studio build failure in Strigi
hajma
tropikhajma at gmail.com
Mon Nov 23 23:44:44 CET 2009
2009/11/23 Alexander Neundorf <neundorf at kde.org>:
> 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 ?
Hi,
yes, it is. See
http://sourceforge.net/mailarchive/forum.php?thread_name=a8a6e3350911221429v5eeac01cl1b97371b4556efa1%40mail.gmail.com&forum_name=strigi-devel
best regards
P.
>
> Alex
>
More information about the Kde-buildsystem
mailing list