Am Montag, 13. Juni 2016 um 13:53:43, schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org> > Le 13/06/2016 à 10:14, Guillaume Munch a écrit : > > Le 12/06/2016 09:29, Pavel Sanda a écrit : > >> Guillaume Munch wrote: > >>>>> I do not clearly see the situation wrt gcc 4.6. Which are the > >>>>> distributions that currently lack gcc > 4.6 ? > >>>> > >>>> this is ubuntu 12.04.p > >>>> > >>> > >>> I see. I has assumed g++-4.7 was there since there is gcc-4.7. How does > >>> clang fare? > >> > >> it has gcc 4.6.3. clang is not and won't be installed. p > >> > > > > It is still good to know whether clang compiles. If you do not want/can > > try, let's see if Jean-Marc succeeds with it (as he offered to try in > > another message). > > I have clang 3.3 on my ubuntu 12.04 machine and it compiles perfectly, > although there are lots of annoying warnings. I have added to autoconf > the possibility to detect clang version, and I use that to adapt warnings. > > Stephan, I'd be interested to know what clang version is returned by the > Apple version. I hope it does not return the XCode version. > > JMarc
I had no problems with clang 3.3. But using clang 3.6 with installed libs from gcc4.8 has problems while compiling cstdio. According to page http://stackoverflow.com/questions/17775390/clang-3-3-in-c1y-mode-cannot-parse-cstdio-header this snipped solved it for me #if !_ISOC11_SOURCE using ::gets; #endif at line 120 of file /usr/include/c++/4.8/cstdio I doubt we can do anything about that in lyx-sources. Kornel
signature.asc
Description: This is a digitally signed message part.