Enrico Forestieri <[EMAIL PROTECTED]> writes: | # define BOOST_FS_FUNC(BOOST_FS_TYPE) inline BOOST_FS_TYPE | # define BOOST_INLINE_FS_FUNC(BOOST_FS_TYPE) inline BOOST_FS_TYPE | typedef boost::filesystem::path Path; | # define BOOST_FS_TYPENAME | # endif | | The problem occurs when BOOST_FILESYSTEM_NARROW_ONLY is defined as | in this case the "typedef boost::filesystem::path Path;" kicks in.
I think that should be reported as a bug to the boost people. (Polluting the global namespace.) | The attached patch solves it by renaming class Path as CurrentPath. But is not current path... perhaps PathChanger... but... | Please, let me know if there are any objections. The alternative would | be deleting "using lyx::support::Path" and substituting "Path" with | "lyx::support::Path" in those files where the problem occurs. I think I would prefere this. (Or most of all to get rid of Path completely.) -- Lgb