From kde-commits Fri Feb 29 23:52:32 2008 From: Marc Mutz Date: Fri, 29 Feb 2008 23:52:32 +0000 To: kde-commits Subject: Re: KDE/kdepimlibs/gpgme++ Message-Id: <200803010226.54178.marc () klaralvdalens-datakonsult ! se> X-MARC-Message: https://marc.info/?l=kde-commits&m=120432915219031 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 . 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