Enrico Forestieri <[EMAIL PROTECTED]> writes: | On Tue, Sep 12, 2006 at 06:01:12PM +0200, Lars Gullik Bjønnes wrote: | > 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.) | | Yes, I did it. | | > | 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. | | Here is the patch. Please tell me if I can put it in.
Very good. Please commit. -- Lgb