From kde-solaris Tue Feb 03 10:37:24 2004 From: Hans Meine Date: Tue, 03 Feb 2004 10:37:24 +0000 To: kde-solaris Subject: Re: [kde-solaris] Re: Solaris unistd.h Message-Id: <200402031137.25536.hans_meine () gmx ! net> X-MARC-Message: https://marc.info/?l=kde-solaris&m=107596984522966 Hi again! On Monday 02 February 2004 23:10, Torsten Kasch wrote: > 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... Oh yes, this seems to be a reasonable explanation. I still wonder why truncate is mapped to truncate64 although the latter is only defined if _LARGEFILE64_SUPPORT is #defined, but this is not the case, but off_t is already 64bit. So I think the whole redefine_extname/#define-section should be #ifdef'ed with _LARGEFILE64_SUPPORT. Thanks for your thoughts.. -- Ciao, / / /--/ / / ANS ___________________________________________________ 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.