Am Montag, 13. Juni 2016 um 16:22:56, schrieb Jean-Marc Lasgouttes 
<lasgout...@lyx.org>
> Le 13/06/2016 à 14:11, Kornel Benko a écrit :
> > 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.
> 
> The posting you refer to seems to imply that it is a C++14 problem. What 
> about enforcing C++11 mode instead?
> 
> JMarc

Hm, yes. But if we want to support 'std::make_unique' we need C++14 test.
At least, that was my impression while working with 4.8 and 5.3.1 g++ versions.

I tried to enforce c++11, everything compiled. Apparently you are right.

I don't understand, why _my_ clang 3.6 accepts parameter '-std=c++14'.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to