[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: bug 704:
From: David Faure <David.Faure () insa-lyon ! fr>
Date: 1999-02-27 8:44:48
[Download RAW message or body]
On Fri, Feb 26, 1999 at 05:15:25PM -0800, Alex Zepeda wrote:
> On Sat, 27 Feb 1999, David Faure wrote:
>
> > Impossible, the define is in /usr/include/paths.h and this file gets
> > included by several .cpp files, all over the KDE.
>
> So redefine it in config.h? Or perhaps kpaths.h? My preprocessor
> knoweledge is lacking, but can't you expand a define?
>
> Something like
>
> #define PATH_TMP ##PATH_TMP##/
Something like that (perhaps no ## before)
But if only you had spoken up before... Now it's committed...
Anyway, the result is the same.
> Or there's the ifdef sco.. redfine path_tmp fix. Which is still cleaner
> than tweaking all the source files that use PATH_TMP IMO.
>
> > So I applied a script to add slashes in the .cpp files, but a bit more
> > elaborate than above... s/PATH_TMP"/PATH_TMP"\//
>
> Yich.
--
____________________________________________________________________
| |
| David FAURE |
| E-mail : David.Faure@insa-lyon.fr, faure@kde.org |
| http://www.insa-lyon.fr/People/AEDI/dfaure/index.html |
|____________________________________________________________________|
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic