In reply to bachan21: That was not the problem. It was a tool setting that overrode the compiler directive.