Day: December 15, 2013
Detecting clang in C code
If you’re looking for a way to detect when your code is being compiled by clang, try the command clang -dM -E -x c /dev/null In the large list presented, you’ll find these macros the most interesting ones:
Read More → Detecting clang in C code