Click here to Skip to main content
15,880,651 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.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 
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 
Yup - warnings are harbingers of doom.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

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.