Quote Originally Posted by Yonut View Post
Sorry to hijack this thread, but is `-pedantic` just useful if you're worried about porting? Are there any benefits if the code it staying put?
It's mainly for porting. It means "reject anything that isn't strictly ANSI-compliant". However in most beginners' exercises, you won't be doing anything that is platform-specific. So -pedantic can act as a warning that you are going wrong.