You should mention what particular CW version you are talking about.
It is CW for S12(X), then you should see some L1823 warnings, object created by default. To prevent this, you need to turn L1823 warning into error by adding -WmsgSe1823 to the linker command line string setting.