From kde-devel Mon Jun 27 11:49:31 2005 From: David Faure Date: Mon, 27 Jun 2005 11:49:31 +0000 To: kde-devel Subject: Re: kdepim/libkcal/ical compile error Message-Id: <200506271349.32172.faure () kde ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=111987302405610 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 <<