[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-solaris
Subject:    Re: [kde-solaris] Re: Solaris unistd.h
From:       Torsten Kasch <tk () CeBiTec ! Uni-Bielefeld ! DE>
Date:       2004-02-02 22:10:21
Message-ID: 200402022310.21504.tk () Genetik ! Uni-Bielefeld ! DE
[Download RAW message or body]

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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic