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

List:       kde-devel
Subject:    Re: kdepim/libkcal/ical compile error
From:       David Faure <faure () kde ! org>
Date:       2005-06-27 11:49:31
Message-ID: 200506271349.32172.faure () kde ! org
[Download RAW message or body]

On Monday 27 June 2005 00:27, Stefan Vunckx wrote:
> kdepim/libkcal/libical/src/libical/icaltimezone.c raises an error, because of 
> this:
> 
> /** This is the toplevel directory where the timezone data is installed in. */
> #define ZONEINFO_DIRECTORY	PACKAGE_DATA_DIR "/zoneinfo"
> 
> Shouldn't that be:
> 
> /** This is the toplevel directory where the timezone data is installed in. */
> #define ZONEINFO_DIRECTORY	PACKAGE_DATA_DIR + "/zoneinfo"

Why, what's PACKAGE_DATA_DIR for you?
The syntax "foo" "bar" is correct in C, whereas "foo"+"bar" can't work (string
objects can be added, but not plain char pointers).

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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