compiler front end for C, C++, Objective-C

learn more… | top users | synonyms

1
vote
0answers
23 views

what is difference between gcc version and Xcode gcc version? [migrated]

This maybe a little silly question but I am very confused executing pkgutil in shell I get $ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables package-id: com.apple.pkg.CLTools_Executables ...
0
votes
0answers
4 views

Netbeans not autodetecting required tools with CLang [migrated]

I'm trying to switch to CLang as an open-source compiler solution for when my vs2013 license runs out, but when setting up CLang with netbeans, netbeans does not detect all of the required tools I ...
1
vote
3answers
526 views

C++: Metaprogramming with a compiler API rather than with C++ features

This started out as a SO question but I realized that it is quite unconventional and based on the actual description on the websites, it might be better suited to programmers.se since the question has ...
1
vote
2answers
221 views

How could Clang release under BSD license?

I found that llvm could only generate assembly code. If someone want generate and link assembly code to native executable code, they should use external tool(GNU as/ld, for example. Currently lld is ...
65
votes
5answers
12k views

Clang warning flags for Objective-C development

As a C & Objective-C programmer, I'm a bit paranoid with the compiler warning flags. I usually try to find a complete list of warning flags for the compiler I use, and turn most of them on, unless ...
1
vote
1answer
2k views

C++ IDE and tools with Clang integration [closed]

Recently I've read this blog about Google integrating Clang parser into their code analysis tools This is something in which C++ is at least a decade behind other languages like Java, but now that ...
16
votes
4answers
2k views

GCC vs clang/LLVM — pros and cons of each [closed]

What are the pros and cons of GCC vs clang/LLVM?
18
votes
6answers
1k views

Aren't there compilers better at telling the programmer what's wrong in a code?

I have worked a little while with the Microsoft compiler from Visual C++ but I worked a long time with G++, and I remember often having bad times understanding what was wrong in my code with the ...
3
votes
2answers
2k views

Reason to use mingw win32 headers and libs with LLVM/Clang

Is there any good reason (except "GCC is better") to use the MinGW win32api/headers/libs with LLVM/Clang. Suppose that in two to three years, Clang has matured enough (in C++0x and performance) that ...
10
votes
3answers
1k views

Is Clang/LLVM ready for prime time? [closed]

Clang is able to be used instead of gcc? What your experience on that? What disadvantages there are yet? Performance of compilation is very better than gcc but about performance of code generated ...