Warning fixes
- More Wshadow fixes.
- #warning -> #pragma message().
- Couple #warning -> #error for unimplemented functions.