Am Sonntag, 26. Juni 2016 um 19:48:52, schrieb Enrico Forestieri <for...@lyx.org> > On Sun, Jun 26, 2016 at 07:23:08PM +0200, Jean-Marc Lasgouttes wrote: > > > Le 26/06/2016 17:56, Enrico Forestieri a écrit : > > > On Sun, Jun 26, 2016 at 05:44:04PM +0200, Jean-Marc Lasgouttes wrote: > > > > > > > Le 26/06/2016 17:32, Enrico Forestieri a écrit : > > > > > > The macro LYX_CHECK_DEF does not pass the option -std=X to g++ for > > > > > > the > > > > > > test. Probably it has only been working by chance up to now. Can any > > > > > > configure expert have a look? > > > > > > > > > > Does the attached patch help? > > > > > > > > You may have to use the cxx11_flags variable. It is not used to CXXFLAGS > > > > directly because this broke objectivec++ compilation on OSX. > > > > > > > > It is used in LYX_CXX_USE_REGEX already. > > > > > > I think it already passes the correct flags through $AM_CXXFLAGS. > > > > Good. I am in a hurry now, I did not have the time to check it. > > > > Thanks for the fix. > > Committed at 6863fe96. >
I wonder, why nothing is needed for cmake. No problems here with g++6.1.0. Kornel
signature.asc
Description: This is a digitally signed message part.