This is the mail archive of the cygwin@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: Recommendation on handling identifier name collisions?


--- Harold Hunt <Harold@compasstechnologies.com> wrote:
> I'm a developer on the Cygwin/XFree86 project; I am running into identifier
> name collisions when I try to include both XFree86 and Windows headers in
> the same source file.  I'm wondering if any of the Cygwin developers have
> found a solution to identifier name collisions, as I figure that Cygwin
> developers have probably run into similar problems during the development of
> Cygwin.  XFree86 is compiled with C, so C++ namespaces are right out.  Also,
> any potential solution has to work for #defines as well as functions and
> global variable names...
> 
> Don't worry about it if there is no known solution to this problem.
> 

Are these collisions with the w32api headers?  Can you, please, give examples?

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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