On Tue, 2008-08-12 at 10:03 -0400, Steve Huston wrote: > ... > I'll check into that... The Direction enum (at least) will need to > change since at least one of those values conflicts with a > Windows-defined macro (hey, don't shoot the messenger ;-)
It's slightly annoying, but I'm not too bothered if you change IN/OUT to something else. I'd suggest either to change the capitalisation to None/In/Out/InOut (and put a comment to the effect that Windows chokes on IN/OUT); or Read/Write/ReadWrite instead; or some better suggestion if you have one. Having said that you could just do #undef IN #undef OUT #undef INOUT after the #include <windows.h> in IocPoller.cpp and in particularly in any .h file that includes windows.h (I guess Mutex.h and similar should be the example of this). Andrew
