updated cpp template file
Merge pull request #6879 from ricardoquesada/warnings_fixes

Fixes compiler warnings for mac and ios
Merge pull request #6878 from MSOpenTech/wp8-v3-fix

updated WP8 cpp template file