[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: KDE/kdepimlibs/gpgme++
From: Marc Mutz <marc () klaralvdalens-datakonsult ! se>
Date: 2008-02-29 23:52:32
Message-ID: 200803010226.54178.marc () klaralvdalens-datakonsult ! se
[Download RAW message or body]
On Saturday 01 March 2008 00:06, Adriaan de Groot wrote:
> > This will break on compilers that don't have their strcmp in std::, even
> > though one includes <cstring>. Older gcc had this problem. Do we still
> > care about those?
>
> Pre 3.3 gccs, no. I'm not sure what qualifies as "old" in this context. I'd
> like to avoid an #ifdef Q_OS_SOLARIS around this one, really (or a
> configure check).
The classical solution (used elsewhere in gpgme++, IIRC), is function-level
using namespace std;
plus unqualified call. No ifdefs required.
Thanks,
Marc
--
Marc Mutz -- marc@klaralvdalens-datakonsult.se, mutz@kde.org
Klarälvdalens Datakonsult AB, Platform-independent software solutions
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic