Re: 2 compilation errors with current master

2015-10-01 Thread Kornel Benko
Am Donnerstag, 1. Oktober 2015 um 22:22:18, schrieb Guillaume Munch > Le 30/09/2015 17:18, Jean-Marc Lasgouttes a écrit : > > Le 30/09/2015 18:08, Guillaume Munch a écrit : > >> Surely more difficult than my patch. Also it's pointless spending too > >> much effort since support/shared_ptr.h will

Re: 2 compilation errors with current master

2015-10-01 Thread Guillaume Munch
Le 30/09/2015 17:18, Jean-Marc Lasgouttes a écrit : Le 30/09/2015 18:08, Guillaume Munch a écrit : Surely more difficult than my patch. Also it's pointless spending too much effort since support/shared_ptr.h will disappear in 2.3. Yes, but I dislike solutions that require to check compiler ver

Re: 2 compilation errors with current master

2015-09-30 Thread Jean-Marc Lasgouttes
Le 30/09/2015 18:08, Guillaume Munch a écrit : Surely more difficult than my patch. Also it's pointless spending too much effort since support/shared_ptr.h will disappear in 2.3. Yes, but I dislike solutions that require to check compiler version number in code. I think we have the same proble

Re: 2 compilation errors with current master

2015-09-30 Thread Guillaume Munch
Le 30/09/2015 15:53, Jean-Marc Lasgouttes a écrit : Le 28/09/2015 19:11, Guillaume Munch a écrit : What about using explicitely lyx::make_shared in the TocBackend code? Doesn't it solve the ambiguity? Yes, I can accept this solution given that we won't have to support c++98 for very long. The

Re: 2 compilation errors with current master

2015-09-30 Thread Jean-Marc Lasgouttes
Le 28/09/2015 19:11, Guillaume Munch a écrit : What about using explicitely lyx::make_shared in the TocBackend code? Doesn't it solve the ambiguity? Yes, I can accept this solution given that we won't have to support c++98 for very long. The drawback is that the issue might pop-up again in the

Re: 2 compilation errors with current master

2015-09-28 Thread Guillaume Munch
Le 28/09/2015 16:32, Jean-Marc Lasgouttes a écrit : Le 21/09/2015 00:40, Guillaume Munch a écrit : Can you please test the attached patch and report if it fixes the compilation in c++98 mode? (with up-to-date master) What about using explicitely lyx::make_shared in the TocBackend code? Doesn't

Re: 2 compilation errors with current master

2015-09-28 Thread Jean-Marc Lasgouttes
Le 21/09/2015 00:40, Guillaume Munch a écrit : Can you please test the attached patch and report if it fixes the compilation in c++98 mode? (with up-to-date master) What about using explicitely lyx::make_shared in the TocBackend code? Doesn't it solve the ambiguity? JMarc

Re: 2 compilation errors with current master

2015-09-27 Thread Guillaume Munch
Le 20/09/2015 23:40, Guillaume Munch a écrit : Le 20/09/2015 17:05, Uwe Stöhr a écrit : I get 2 compilation errors with current master: ..\..\src\TocBackend.cpp(191): error C2668: 'boost::make_shared': ambiguous call of an overloaded function [D:\LyXGit\Master\compile-result\src\L

Re: 2 compilation errors with current master

2015-09-20 Thread Guillaume Munch
Le 20/09/2015 17:05, Uwe Stöhr a écrit : I get 2 compilation errors with current master: ..\..\src\TocBackend.cpp(191): error C2668: 'boost::make_shared': ambiguous call of an overloaded function [D:\LyXGit\Master\compile-result\src\LyX.vcxproj] ..\..\src\TocBackend.cpp(191): e

Re: 2 compilation errors with current master

2015-09-20 Thread Kornel Benko
Am Sonntag, 20. September 2015 um 17:51:34, schrieb Guillaume Munch > Le 20/09/2015 17:05, Uwe Stöhr a écrit : > > I get 2 compilation errors with current master: > > > >..\..\src\TocBackend.cpp(191): error C2668: 'boost::make_shared': > > ambiguous

Re: 2 compilation errors with current master

2015-09-20 Thread Guillaume Munch
Le 20/09/2015 17:05, Uwe Stöhr a écrit : I get 2 compilation errors with current master: ..\..\src\TocBackend.cpp(191): error C2668: 'boost::make_shared': ambiguous call of an overloaded function [D:\LyXGit\Master\compile-result\src\LyX.vcxproj] ..\..\src\TocBackend.cpp(191): e

2 compilation errors with current master

2015-09-20 Thread Uwe Stöhr
I get 2 compilation errors with current master: ..\..\src\TocBackend.cpp(191): error C2668: 'boost::make_shared': ambiguous call of an overloaded function [D:\LyXGit\Master\compile-result\src\LyX.vcxproj] ..\..\src\TocBackend.cpp(191): error C2228: left of ".first&qu