Quantcast
Channel: Clang vs GCC for my Linux Development project - Stack Overflow
Browsing latest articles
Browse All 7 View Live

Answer by Ziming Song for Clang vs GCC for my Linux Development project

I think clang could be an alternative.GCC and clang have some differences on expressions like a+++++a, and I've got many different answers with my peer who use clang on Mac while I use gcc.GCC has...

View Article



Answer by ideasman42 for Clang vs GCC for my Linux Development project

I use both Clang and GCC, I find Clang has some useful warnings, but for my own ray-tracing benchmarks - its consistently 5-15% slower then GCC (take that with grain of salt of course, but attempted to...

View Article

Answer by Matthieu M. for Clang vs GCC for my Linux Development project

EDIT:The gcc guys really improved the diagnosis experience in gcc (ah competition). They created a wiki page to showcase it here. gcc 4.8 now has quite good diagnostics as well (gcc 4.9x added color...

View Article

Answer by Mankarse for Clang vs GCC for my Linux Development project

As of right now, GCC has much better and more complete support for C++11 features than Clang. Also, the code generator for GCC performs better optimisation than the one in Clang (in my experience, I...

View Article

Answer by Raymond Hettinger for Clang vs GCC for my Linux Development project

I use both because sometimes they give different, useful error messages.The Python project was able to find and fix a number of small buglets when one of the core developers first tried compiling with...

View Article


Answer by Fred Foo for Clang vs GCC for my Linux Development project

For student level programs, Clang has the benefit that it is, by default, stricter wrt. the C standard. For example, the following K&R version of Hello World is accepted without warning by GCC, but...

View Article

Clang vs GCC for my Linux Development project

I'm in college, and for a project we're using C. We've explored GCC and Clang, and Clang appears to be much more user friendly than GCC. As a result, I'm wondering what the advantages or disadvantages...

View Article
Browsing latest articles
Browse All 7 View Live




Latest Images