This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

names clashes in bits/localefwd.h



Current CVS tree fails to build (at least on solaris-2.[26]) due to
names clashes: #includeing <std_string.h> has the side effect of
defining the macros isxxx.  As an immediate consequence, a declaration
like 

 template<typename _CharT>
    inline bool
    isspace(_CharT, const locale&);

causes an error.

I don't think these macros should be visible in <string>.  Perhaps
we need a sort of

	#undef isxxx

in <std_string.h>.

-- Gaby

--DAA04422.927942123/korrigan.inria.fr--






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]