Quantcast
Channel: Does clang apply options by default? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Does clang apply options by default?

$
0
0

For example, when compiling a simple program

clang hello_world.c

Does the clang add any options by default? Like link library, include search path or optimization flags -O0 or exploit-mitigation flags like -mlvi-cfi?

If so, how to get a full list of default options?


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images