This is the mail archive of the cygwin-xfree@sources.redhat.com mailing list for the Cygwin project.


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

RE: Development Status Update


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


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