Click here to Skip to main content
14,236,142 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



 
GeneralTreat warnings as errors Pin
Dominic Burford21-Jun-19 1:28
professionalDominic Burford21-Jun-19 1:28 
GeneralRe: Treat warnings as errors Pin
Kevin McFarlane21-Jun-19 1:40
memberKevin McFarlane21-Jun-19 1:40 
Answer#pragma warning xxxx disable Pin
Stylianos Polychroniadis20-Jun-19 5:16
memberStylianos Polychroniadis20-Jun-19 5:16 
Generalwarnings Pin
Member 1317784718-Jun-19 5:00
memberMember 1317784718-Jun-19 5:00 
GeneralRe: warnings Pin
den2k8819-Jun-19 2:31
professionalden2k8819-Jun-19 2:31 
Generalpoll missing an option PinPopular
BryanFazekas18-Jun-19 0:54
memberBryanFazekas18-Jun-19 0:54 
GeneralReminds me of a Song Pin
Afzaal Ahmad Zeeshan17-Jun-19 23:02
mveAfzaal Ahmad Zeeshan17-Jun-19 23:02 
GeneralRe: Reminds me of a Song Pin
OriginalGriff18-Jun-19 1:14
protectorOriginalGriff18-Jun-19 1:14 
GeneralSet "treat warnings as errors" in my default project template. Pin
OriginalGriff17-Jun-19 21:59
protectorOriginalGriff17-Jun-19 21:59 
GeneralThe one who voted "Turn off all errors and warnings that I can" Pin
den2k8817-Jun-19 4:16
professionalden2k8817-Jun-19 4:16 
GeneralRe: The one who voted "Turn off all errors and warnings that I can" Pin
Pete Lomax Member 1066450517-Jun-19 5:09
professionalPete Lomax Member 1066450517-Jun-19 5:09 
GeneralRe: The one who voted "Turn off all errors and warnings that I can" Pin
CHill6019-Jun-19 4:42
protectorCHill6019-Jun-19 4:42 
GeneralAnother "None" Pin
W Balboos17-Jun-19 1:15
mveW Balboos17-Jun-19 1:15 
GeneralRe: Another "None" Pin
FiresChild18-Jun-19 5:47
memberFiresChild18-Jun-19 5:47 
GeneralUnfortunately, the niche product I use is a little "special" Pin
u-li16-Jun-19 23:53
memberu-li16-Jun-19 23:53 
GeneralRe: Unfortunately, the niche product I use is a little "special" Pin
Sander Rossel17-Jun-19 0:43
professionalSander Rossel17-Jun-19 0:43 
GeneralRe: Unfortunately, the niche product I use is a little "special" Pin
den2k8817-Jun-19 4:15
professionalden2k8817-Jun-19 4:15 
GeneralNormally: Fix all errors but and try to remove warnings.. Pin
Simon_Whale16-Jun-19 23:25
professionalSimon_Whale16-Jun-19 23:25 
GeneralIf I wrote them... Pin
Sander Rossel16-Jun-19 23:00
professionalSander Rossel16-Jun-19 23:00 
GeneralFix warnings Pin
den2k8816-Jun-19 21:26
professionalden2k8816-Jun-19 21:26 
GeneralRe: Fix warnings Pin
Mike Barthold16-Jun-19 23:06
professionalMike Barthold16-Jun-19 23:06 
GeneralRe: Fix warnings Pin
CHill6019-Jun-19 3:07
protectorCHill6019-Jun-19 3:07 
GeneralRe: Fix warnings Pin
Elrond20-Jun-19 0:50
memberElrond20-Jun-19 0:50 
GeneralI’m shocked Pin
#realJSOP16-Jun-19 20:15
mve#realJSOP16-Jun-19 20:15 
GeneralRe: I’m shocked Pin
M.Vo.16-Jun-19 20:35
memberM.Vo.16-Jun-19 20:35 

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.