define/undefine position errros are not reported when excluded from compiletion. Fixes #11292