From kde-solaris Mon Feb 02 22:10:21 2004 From: Torsten Kasch Date: Mon, 02 Feb 2004 22:10:21 +0000 To: kde-solaris Subject: Re: [kde-solaris] Re: Solaris unistd.h Message-Id: <200402022310.21504.tk () Genetik ! Uni-Bielefeld ! DE> X-MARC-Message: https://marc.info/?l=kde-solaris&m=107575990506352 Hi, On Monday 02 February 2004 14:00, Hans Meine wrote: > Hi again, > > after some further research I found the reason why I have this problem with > "truncate64" and friends only in kdepim, koffice and kdenetwork: The > following section is only in their configure.in.in's: [...] The problem is that gcc 2.x doesn't understand the "#pragma redefine_extname" statements which are used to redefine the *64 function names, so a simple "#define" is used as a fallback. The latter breaks because some Qt methods (e.g. truncate) get redefined by the preprocessor as well... AFAIK, recent gcc versions (3.x) can handle these "#pragma" statements correctly but for gcc 2.x, disabling the large file support in kdenetwork/kdepim (as you did) seems to be the only option... cheers, Torsten ___________________________________________________ This message is from the kde-solaris mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde-solaris. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.