Re: [patch] Boost 1.34 name clash

2006-09-15 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> On Fri, Sep 15, 2006 at 01:55:09PM +0200, Jean-Marc Lasgouttes Enrico> wrote: >> > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: >> Enrico> Here is the patch. Please tell me if I can put it in. >> If it is ne

Re: [patch] Boost 1.34 name clash

2006-09-15 Thread Enrico Forestieri
On Fri, Sep 15, 2006 at 01:55:09PM +0200, Jean-Marc Lasgouttes wrote: > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> Here is the patch. Please tell me if I can put it in. > > If it is needed for 1.4, you can put it in there. This is related to boost filesystem 1.34

Re: [patch] Boost 1.34 name clash

2006-09-15 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> Here is the patch. Please tell me if I can put it in. If it is needed for 1.4, you can put it in there. JMarc

Re: [patch] Boost 1.34 name clash

2006-09-12 Thread Enrico Forestieri
On Tue, Sep 12, 2006 at 07:31:16PM +0200, Lars Gullik Bjønnes wrote: > 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)

Re: [patch] Boost 1.34 name clash

2006-09-12 Thread Lars Gullik Bjønnes
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

Re: [patch] Boost 1.34 name clash

2006-09-12 Thread Enrico Forestieri
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 Pa

Re: [patch] Boost 1.34 name clash

2006-09-12 Thread Enrico Forestieri
On Tue, Sep 12, 2006 at 03:59:16PM +, Angus Leeming wrote: > Enrico Forestieri <[EMAIL PROTECTED]> writes: > > The problem occurs when BOOST_FILESYSTEM_NARROW_ONLY is defined as > > in this case the "typedef boost::filesystem::path Path;" kicks in. > > I'd say that you've found a bug in the Bo

Re: [patch] Boost 1.34 name clash

2006-09-12 Thread Lars Gullik Bjønnes
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

Re: [patch] Boost 1.34 name clash

2006-09-12 Thread Angus Leeming
Enrico Forestieri <[EMAIL PROTECTED]> writes: > The problem occurs when BOOST_FILESYSTEM_NARROW_ONLY is defined as > in this case the "typedef boost::filesystem::path Path;" kicks in. I'd say that you've found a bug in the Boost code. Library code shouldn't pollute the global namespace in this wa

[patch] Boost 1.34 name clash

2006-09-12 Thread Enrico Forestieri
On cygwin, when compiling lyx_cb.C and a few other files, I get the following error: if g++ -DHAVE_CONFIG_H -I. -I../../src -I. -I../../boost -Wno-uninitialized -O2 -MT lyx_cb.o -MD -MP -MF ".deps/lyx_cb.Tpo" -c -o lyx_cb.o ../../src/lyx_cb.C; \ then mv -f ".deps/lyx_cb.Tpo" ".deps/ly