L>>> #define BOOST_POSIX 1 >> > | Yes, this works. > > Ok. > > Then we have to decide on the best way to handle this. > > If we just make BOOST_POSIX be set for cygwin, then it works for you. > But for the next guy using cygwin it will break.
No, I don't think so. All our file names currently go through "internal_path" which sort-of-posixifies them. I've no idea why things appear to be working on a true Windows platform, but I think you've just been lucky. Seems to me that this is an example of coding practice that we should try and avaoid in future... > So are there any kindo of configure tests we can use to discover the > setting of win/posix kind of setup on cygwin? Cygwin can understand both. Boost.Filesystem is poorly designed in this regard. It's been noted before on the boost lists. -- Angus