Sometimes it’s necessary to pass all defines used during compilation to other programs like static code analysis tools. At least when you are using gcc, that’s actually quite simple. The first step is to ask gcc for all it’s builtin defines: gcc -E -dM – </dev/null This gives a long list with #define’s: #define __DBL_MIN_EXP__ [Read more...]





