moved compiler-specific warning generation to shared files (nw)