Marc,

> On Thu, 11 Aug 2011, Rainer Orth wrote:
>
>> I could, but am a bit reluctant to do so since such a fix feels quite
>> fragile, and `fixes' the Solaris headers in many places where they are
>> completely correct.  I'll also have to touch <time.h>, <wchar.h>,
>> <stdlib.h>, and <locale.h>, that all have using std::tm etc. clauses.
>
> Actually, you wouldn't need to touch those other places:
>
> struct tm;
> namespace std { using ::tm; }
> using std::tm;
>
> is perfectly ok, so it would really be only the four struct declarations.

good to know.  I hadn't tried this yet, and am practically ignorant of
C++ ;-)

> (I am not saying that against your proposal below at all, just making sure 
> we understand the issue)

Understood, especially given that the mangling code is yours :-)

Thanks.
        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to