Add warning unreachable-code-return
Fix gcc pragmas
Update warning generation for gcc
Merge branch 'master' into macosx