You can look also in Settings -> Compiler
Thanks for the reply. If I go there it gives me the settings which only apply to the DMD Windows compiler and there is no -Wall option and the "Other compiler options" tab is blank.
I notice that my "cbp" file was not updated when I changed the compiler in Code::Blocks. That file still thinks I am using gdc and has the -Wall option in it:
<Compiler>
<Add option="-Wall" />
</Compiler>
And yet doing a build invokes the DMD compiler??
But apparently it is ignoring that file as when I removed -Wall from it and set the correct compiler it still invokes DMD with the -Wall option.
I got out of Code::Blocks and back in and it still wants to add -Wall to a command line that is invoking DMD, which does not support that option.
------------------------------------------
I relooked at the cbp file and while I thought I had removed the -Wall option, it was still there. I removed it (again?) and then I was able to get a successful compile.