S
S
sitev_ru2015-02-05 15:16:58
C++ / C#
sitev_ru, 2015-02-05 15:16:58

Can I already use CLANG?

As I understand it, GCC does not fully support the C++11 standard. Maybe it's time to switch to CLANG when programming under LINUX?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
AxisPod, 2015-02-05
@AxisPod

Where does GCC not support C++11? 4.8 already like https://gcc.gnu.org/projects/cxx0x.html .

D
Don Kaban, 2015-02-05
@donkaban

Of course not. If gcc doesn't support c++11, then clang won't get out of deep alpha anyway. Especially on Linux, in Windows they are not so bad. I would advise staying with watcom C++ for now.
PS Static analysis in clang is generally marketing nonsense.

E
egor_nullptr, 2015-02-05
@egor_nullptr

https://gcc.gnu.org/gcc-4.8/cxx0x_status.html
clang.llvm.org/cxx_status.html#cxx11
Same, GCC even has one more item.

V
Vitaly, 2015-02-05
@vt4a2h

Why are there 11 already, 14 is already supported.
Try under Linux to download gcc-5 (4.8, 4.9) and discover the compilation flags.

H
hiloader, 2015-02-07
@hiloader

Can. But only if the runtimes will still be from gcc, what's the point? Or you want to use libcxx.llvm.org/. Actually it is not very mature for Linux. And yes, the clang static analyzer is better than the absence of any.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question