tags:

views:

55

answers:

1

I would like to know if there is any gcc flag that doesn't compile to an object file, if there are warnings in the respective source file.

Thanks.

+8  A: 

gcc -Werror: Make all warnings into errors.

Brendan Long