Le 13/06/2016 à 18:01, Kornel Benko a écrit :
I don't understand, why _my_ clang 3.6 accepts parameter '-std=c++14'.
I am not sure that I understand your question.
Here example (without source file)
gcc4.8
# g++ -std=c++14
g++: error: unrecognized command line option ‘-std=c++14’
g++: fatal error: no input files
compilation terminated.
try -std=c++1y
So, clang accepts this parameter, but does not define std::make_unique.
No, because it is the standard library that shall define make_unique. If
you use a gcc 4.8 libstdc++ library, you won't have it, since it came
with gcc 4.9:
https://isocpp.org/blog/2014/04/gcc-4.9.0
JMarc