Development Status Update
stephane cateland
cateland@europe.com
Mon Nov 20 09:03:00 GMT 2000
Actually namespace are not such a bad idea.
But since as you said, X11 is a C library wen using it it you should
need A C++ wrapper class. And the I agree it will surcharge code
and maintenance.
You can use C inline wrapper function to resolve conficts.
in other word for each conficting symbol have it define internally as
X or Win32.h
//
On 20 Nov 2000, at 8:32, Harold Hunt wrote:
> >What about putting the windows.h and the X11 Headers in different
> namespaces
>
> Hmmm... the immediate problem with that is that all of X11 is compiled with
> c, while namespaces are a c++ feature. Even if I compile a test file with
> c++ I still get errors about redefines ending in a failure to compile.
>
> I guess namespace are out... anymore ideas?
>
> Thanks for your input,
>
> Harold
>
oäúð`ðúäo,,,,oäúð`ðúäo,,,,oäúð`ðúäooäúð`ðúäo,,,,oäúð`ðúäo
Stephane Cateland mailto:cateland@europe.com
5 rue stalingrad tel +33 (0) 1 45 47 70 26
94100 ARCUEIL 0 8 72 05 03 77
oäúð`ðúäo,,,,oäúð`ðúäo,,,,oäúð`ðúäooäúð`ðúäo,,,,oäúð`ðúäo
More information about the Cygwin-xfree
mailing list