I have some different configurations for my project. In the active project I have a define "WAVEPLAYER8=15" (-D option). In the picture you can see the command line show the correct parameter is send to gcc. But in the macro expansion 12 is showing. This is the value from a other configuration which is not active.