Click here to Skip to main content
15,881,089 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
M.Vo.16-Jun-19 21:31
M.Vo.16-Jun-19 21:31 
GeneralRe: I’m shocked Pin
Eek Ten Bears17-Jun-19 20:36
Eek Ten Bears17-Jun-19 20:36 
GeneralRe: I’m shocked Pin
M.Vo.17-Jun-19 20:46
M.Vo.17-Jun-19 20:46 
GeneralRe: I’m shocked Pin
John R. Shaw17-Jun-19 22:43
John R. Shaw17-Jun-19 22:43 
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 
#realJSOP wrote:
I honestly expected option 1 to be the clear leader.


As did I. That's scary, because some warnings, like = vs. == are critical to pay attention to.
Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging

Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

Artificial intelligence is the only remedy for natural stupidity. - CDP1802

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 

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.