cocos2d/cocos2d-x — pull request #3241 by minggo (2013-07-24 09:30:20+00:00)
Title: fix some errors for template

fix compiling errors & warnings in templates
modify trivas script to test template too