Re: [LyX/master] Make it possible to select C++ standard with autoconf

2020-11-03 Thread Pavel Sanda
On Tue, Nov 03, 2020 at 04:30:38PM +0100, Jean-Marc Lasgouttes wrote: > Le 03/11/2020 ?? 16:16, Pavel Sanda a écrit : > >>checking for a good C++ mode... none > >>configure: error: Cannot find suitable mode for compiler g++ > >>make: *** [Makefile:502: config.status] Error 1 > > > >looking at the

Re: [LyX/master] Make it possible to select C++ standard with autoconf

2020-11-03 Thread Jean-Marc Lasgouttes
Le 03/11/2020 à 16:16, Pavel Sanda a écrit : checking for a good C++ mode... none configure: error: Cannot find suitable mode for compiler g++ make: *** [Makefile:502: config.status] Error 1 looking at the log I see: g++: error: unrecognized command line option '-std=gnu++14,11' Seems like

Re: [LyX/master] Make it possible to select C++ standard with autoconf

2020-11-03 Thread Jean-Marc Lasgouttes
Le 03/11/2020 à 16:16, Pavel Sanda a écrit : On Tue, Nov 03, 2020 at 04:12:16PM +0100, Pavel Sanda wrote: On Tue, Nov 03, 2020 at 02:44:43PM +0100, Jean-Marc Lasgouttes wrote: commit ce526607ff4ae33834dabe64e0072530eca16183 Author: Jean-Marc Lasgouttes Date: Mon Nov 2 17:40:29 2020 +0100

Re: [LyX/master] Make it possible to select C++ standard with autoconf

2020-11-03 Thread Jean-Marc Lasgouttes
Le 03/11/2020 à 16:12, Pavel Sanda a écrit : Is this supposed to work by default on old compilers or do I need to pass cxx-mode now? It is supposed to work magically. checking for a good C++ mode... none configure: error: Cannot find suitable mode for compiler g++ make: *** [Makefile:502:

Re: [LyX/master] Make it possible to select C++ standard with autoconf

2020-11-03 Thread Jean-Marc Lasgouttes
Le 03/11/2020 à 15:54, José Abílio Matos a écrit : As you probably know the default for gcc 11 will be C++17. Is this taking that into account? Yes. We enforce C++14 in this case. This is bound to change with time, of course. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: [LyX/master] Make it possible to select C++ standard with autoconf

2020-11-03 Thread Pavel Sanda
On Tue, Nov 03, 2020 at 04:12:16PM +0100, Pavel Sanda wrote: > On Tue, Nov 03, 2020 at 02:44:43PM +0100, Jean-Marc Lasgouttes wrote: > > commit ce526607ff4ae33834dabe64e0072530eca16183 > > Author: Jean-Marc Lasgouttes > > Date: Mon Nov 2 17:40:29 2020 +0100 > > > > Make it possible to

Re: [LyX/master] Make it possible to select C++ standard with autoconf

2020-11-03 Thread Pavel Sanda
On Tue, Nov 03, 2020 at 02:44:43PM +0100, Jean-Marc Lasgouttes wrote: > commit ce526607ff4ae33834dabe64e0072530eca16183 > Author: Jean-Marc Lasgouttes > Date: Mon Nov 2 17:40:29 2020 +0100 > > Make it possible to select C++ standard with autoconf > > Introduce new configure option

Re: [LyX/master] Make it possible to select C++ standard with autoconf

2020-11-03 Thread José Abílio Matos
On Tuesday, November 3, 2020 1:44:43 PM WET Jean-Marc Lasgouttes wrote: > commit ce526607ff4ae33834dabe64e0072530eca16183 > Author: Jean-Marc Lasgouttes > Date: Mon Nov 2 17:40:29 2020 +0100 > > Make it possible to select C++ standard with autoconf > > Introduce new configure option