Most voted "clang" questions
7 questions
Sort by count of
-
8
votes1
answer1466
viewsDifference between GCC Clang
The systems based on Unix (a large majority), usually use the GCC, to compile the files in C, but I also possessed the Clang for the same purpose. There is difference when compiling some project…
-
5
votes1
answer446
viewsClang has Character error Too large but Visual Studio builds normal
I’m having a hard time understanding why the Clang presents the error message Character Too large for enclosing Character literal type when trying to execute the code: char c = 'ç'; while Visual…
-
3
votes1
answer60
viewsWhy do you have to add -pthread option when compiling with the Std thread library?
If in the main.cpp I use the library thread of std, to compile I have to use the following command: g++ main.cpp -pthread And even applies to Ang. This is the only case I know of the standard…
-
2
votes1
answer146
viewsReference not defined in compiling an executable for windows x86
I’m building a scaffold project for cross-Compile on c/c++ for Windows, Linux, Mac, Ios and Android. When I compile the project for Windows x86 and I have a very strange error, but the same code…
-
1
votes0
answers20
viewsProblems with Makefile when switching from debian to freebsd (ifeq and endif)
I am using netbeans to compile some programs in C/C++ it compiles the code remotely on a debian machine (GNU), everything works smoothly, but I tried to compile the same project on a freebsd that…
-
0
votes1
answer351
viewsHow to install LLVM?
How to install the Clang/LLVM in windows to run C programs in bash always appears "failed to find msbuilt toolsets" when installing llvm??
-
0
votes1
answer97
viewsI’m having trouble compiling a simple C program
# include <stdio.h> int main(){ int y = 5; int *yPtr; printf("Address of y veriable: %x \n",&y); printf("Address stored in yPtr variable: %x \n", yPtr); printf("Value of y: %d\n", y);…