Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Enrico Forestieri
On Thu, Jul 07, 2016 at 10:44:31PM +0200, Jean-Marc Lasgouttes wrote: > Le 07/07/2016 21:18, Enrico Forestieri a écrit : > > What about the attached one, instead? If --with-qt-dir is specified, the > > presence of qtchooser is not checked and everything goes as before. > > If this works for you,

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Jean-Marc Lasgouttes
Le 07/07/2016 21:18, Enrico Forestieri a écrit : What about the attached one, instead? If --with-qt-dir is specified, the presence of qtchooser is not checked and everything goes as before. If this works for you, it is fine for me. JMarc

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Enrico Forestieri
On Thu, Jul 07, 2016 at 03:20:21PM +0200, Enrico Forestieri wrote: > On Thu, Jul 07, 2016 at 12:34:44PM +0200, Jean-Marc Lasgouttes wrote: > > Le 07/07/2016 à 09:39, Jean-Marc Lasgouttes a écrit : > > >M'y fault indeed. I'll fix it ASAP. > > > > What about this? > > Thanks, this solves the probl

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Enrico Forestieri
On Thu, Jul 07, 2016 at 04:16:26PM +0200, Kornel Benko wrote: > Am Donnerstag, 7. Juli 2016 um 15:45:52, schrieb Enrico Forestieri > > > On Thu, Jul 07, 2016 at 02:15:33PM +0200, Jean-Marc Lasgouttes wrote: > > > Le 06/07/2016 à 21:52, Enrico Forestieri a écrit : > > > >>Enrico, could you provid

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Kornel Benko
Am Donnerstag, 7. Juli 2016 um 15:45:52, schrieb Enrico Forestieri > On Thu, Jul 07, 2016 at 02:15:33PM +0200, Jean-Marc Lasgouttes wrote: > > Le 06/07/2016 à 21:52, Enrico Forestieri a écrit : > > >>Enrico, could you provide a short snippet of code that will not compile > > >>under cygwin with -

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Enrico Forestieri
On Thu, Jul 07, 2016 at 02:15:33PM +0200, Jean-Marc Lasgouttes wrote: > Le 06/07/2016 à 21:52, Enrico Forestieri a écrit : > >>Enrico, could you provide a short snippet of code that will not compile > >>under cygwin with -std=c++11 ? I understand that it will be about functions > >>like popen and f

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Enrico Forestieri
On Thu, Jul 07, 2016 at 12:34:44PM +0200, Jean-Marc Lasgouttes wrote: > Le 07/07/2016 à 09:39, Jean-Marc Lasgouttes a écrit : > >M'y fault indeed. I'll fix it ASAP. > > What about this? Thanks, this solves the problem on solaris but still doesn't take into account the fact that one could be using

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Jean-Marc Lasgouttes
Le 06/07/2016 à 21:52, Enrico Forestieri a écrit : Enrico, could you provide a short snippet of code that will not compile under cygwin with -std=c++11 ? I understand that it will be about functions like popen and friends, but I'd rather let you propose something. Yes, it complains also about s

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Jean-Marc Lasgouttes
Le 07/07/2016 à 09:39, Jean-Marc Lasgouttes a écrit : M'y fault indeed. I'll fix it ASAP. What about this? JMarc JMarc Le 6 juillet 2016 21:52:42 GMT+02:00, Enrico Forestieri a écrit : Rather, there is now another problem with Qt5. Until now it was not mandatory having the Qt5 binaries

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Kornel Benko
Am Donnerstag, 7. Juli 2016 um 09:31:30, schrieb Enrico Forestieri > On Wed, Jul 06, 2016 at 11:25:02PM +0200, Kornel Benko wrote: > > Am Mittwoch, 6. Juli 2016 um 21:52:42, schrieb Enrico Forestieri > > > > > Rather, there is now another problem with Qt5. Until now it was not > > > mandatory h

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Jean-Marc Lasgouttes
M'y fault indeed. I'll fix it ASAP. JMarc Le 6 juillet 2016 21:52:42 GMT+02:00, Enrico Forestieri a écrit : >Rather, there is now another problem with Qt5. Until now it was not >mandatory having the Qt5 binaries in the PATH. Indeed, specifying >--with-qt-dir sufficed for finding them.

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-07 Thread Enrico Forestieri
On Wed, Jul 06, 2016 at 11:25:02PM +0200, Kornel Benko wrote: > Am Mittwoch, 6. Juli 2016 um 21:52:42, schrieb Enrico Forestieri > > > Rather, there is now another problem with Qt5. Until now it was not > > mandatory having the Qt5 binaries in the PATH. Indeed, specifying > > --with-qt-dir suffic

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-06 Thread Kornel Benko
Am Mittwoch, 6. Juli 2016 um 21:52:42, schrieb Enrico Forestieri > Rather, there is now another problem with Qt5. Until now it was not > mandatory having the Qt5 binaries in the PATH. Indeed, specifying > --with-qt-dir sufficed for finding them. For example, on solaris I > have everything in /opt

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-06 Thread Enrico Forestieri
On Wed, Jul 06, 2016 at 02:28:45PM +0200, Jean-Marc Lasgouttes wrote: > Le 06/07/2016 à 14:24, Jean-Marc Lasgouttes a écrit : > >commit 23dbcb59d2e861921677b3ce99d95c77c1ceec02 > >Author: Jean-Marc Lasgouttes > >Date: Wed Jul 6 14:03:22 2016 +0200 > > > >New test to determine correct -std op

Re: [LyX/master] New test to determine correct -std option for CXX compiler

2016-07-06 Thread Jean-Marc Lasgouttes
Le 06/07/2016 à 14:24, Jean-Marc Lasgouttes a écrit : commit 23dbcb59d2e861921677b3ce99d95c77c1ceec02 Author: Jean-Marc Lasgouttes Date: Wed Jul 6 14:03:22 2016 +0200 New test to determine correct -std option for CXX compiler The test file is stolen from cmake. The options tested are