Click here to Skip to main content
15,895,799 members

Survey Results

How do you deal with compiler warnings?

Survey period: 17 Jun 2019 to 24 Jun 2019

If the compiler knows how to fix my syntax error why doesn't it simply fix it itself?

OptionVotes% 
Use standard compiler settings and set the warning level to the highest level and fix all warnings and errors26229.27
Customise analysers to suit my team’s requirements and fix all warnings and errors18020.11
Fix all errors but generally ignore warnings31234.86
Turn off all errors and warnings that I can182.01
Depends on the codebase and my level of enthusiasm12013.41
I don't work with a compiler that generates warnings or errors182.01



 
GeneralRe: I’m shocked Pin
den2k8816-Jun-19 21:27
professionalden2k8816-Jun-19 21:27 
GeneralRe: I’m shocked Pin
Nemanja Trifunovic17-Jun-19 1:51
Nemanja Trifunovic17-Jun-19 1:51 
GeneralRe: I’m shocked Pin
Gary Wheeler18-Jun-19 1:49
Gary Wheeler18-Jun-19 1:49 
GeneralRe: I’m shocked Pin
Marc Clifton19-Jun-19 2:27
mvaMarc Clifton19-Jun-19 2:27 
GeneralRe: I’m shocked Pin
Mike Diack21-Jun-19 4:29
Mike Diack21-Jun-19 4:29 
GeneralRe: I’m shocked Pin
#realJSOP21-Jun-19 7:04
mve#realJSOP21-Jun-19 7:04 
GeneralOther: "Treat warnings as errors" Pin
Mike (Prof. Chuck)16-Jun-19 20:10
professionalMike (Prof. Chuck)16-Jun-19 20:10 
GeneralFix your warnings Pin
Mark Storen16-Jun-19 18:25
Mark Storen16-Jun-19 18:25 
This used to drive me mad - I once inherited a code base with 1000+ warnings (actually more like 5000 but vb.net won't generate more than 100 per project) and although 99% of them were harmless there were several genuine warnings that were buried among the mess. Spent hours smiting them all to get a clean build happening.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.