make typedef an error
Merge pull request #663 from WalterBright/typedef-error

make typedef an error