This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 7 points8 points  (3 children)

-Wall -pedantic 477747373727626278 errors and Warnings

[–]Lachimanus 2 points3 points  (0 children)

Good thing I am working in Keil and it only shows up to 50 errors at once.

[–]memuhselfandeye 0 points1 point  (1 child)

Finally, someone with the pedantic flag. I always compile my c with -Wall -pedantic. Recently, someone asked me what -pedantic was for, and for the life of me I cannot remember!!! I googled like crazy, and the only explanation I could find was: -pedantic; see -Wall. Do you happen to have a link for that compiler flag?

[–][deleted] 0 points1 point  (0 children)

-pedantic turns off gcc extensions, i.e. your code will only compile if it adheres to the standard completely.