Click here to Skip to main content
14,265,888 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life. Technical discussions are encouraged, but click here to ask your programming questions.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralRe: Compiler Warnings... Pin
W Balboos6-Jun-19 1:44
mveW Balboos6-Jun-19 1:44 
GeneralRe: Compiler Warnings... Pin
Marco Bertschi6-Jun-19 3:04
protectorMarco Bertschi6-Jun-19 3:04 
GeneralRe: Compiler Warnings... Pin
obermd6-Jun-19 3:07
memberobermd6-Jun-19 3:07 
GeneralRe: Compiler Warnings... Pin
Dr.Walt Fair, PE6-Jun-19 6:02
professionalDr.Walt Fair, PE6-Jun-19 6:02 
GeneralRe: Compiler Warnings... Pin
Gary Wheeler6-Jun-19 6:07
memberGary Wheeler6-Jun-19 6:07 
GeneralRe: Compiler Warnings... Pin
I_made_a_womble6-Jun-19 6:30
memberI_made_a_womble6-Jun-19 6:30 
GeneralRe: Compiler Warnings... Pin
Gerry Schmitz6-Jun-19 8:36
mveGerry Schmitz6-Jun-19 8:36 
GeneralRe: Compiler Warnings... Pin
Member 79891226-Jun-19 11:06
memberMember 79891226-Jun-19 11:06 
We are in the process of introducing the Coverity static code analyzer. It is very good at telling you why it warns you ("If [this] occurs, and then [this] and then [this], then you follow a null reference at [that] line" - the series of inferences may jump from source file to source file, and may go in five or six or more steps).

For this discussion it is more important that it maintains a history of all the "defects": If you have once reported that a given defect is in intentional, at the next Coverity run it will not be reported again. Same if you have flagged it as a false warning (which may occur if you set the agressiveness level to "high"). So you won't have the same warnings again and again. That makes it much more realistic to handle even moderate risk defects, because you do it once only. And if you give it a verdict of "intentional" or "false warning", you can leave it in your source code as it is.

Actually I am a little bit in love with Coverity at the moment. I never seen any compiler or other code analyzer that comes close to it neither in its ability to detect defects, nor its flexibility in handling them. The big disadvantage is that your billfold will complain loudly ... And it takes some heavy iron (or lot of patience). But when you employer can afford both the software and the iron, then it is great.
GeneralSecurity is for the weak Pin
Sander Rossel5-Jun-19 1:06
professionalSander Rossel5-Jun-19 1:06 
GeneralRe: Security is for the weak Pin
Nathan Minier5-Jun-19 1:12
professionalNathan Minier5-Jun-19 1:12 
GeneralRe: Security is for the weak Pin
Sander Rossel5-Jun-19 1:59
professionalSander Rossel5-Jun-19 1:59 
GeneralRe: Security is for the weak Pin
Nathan Minier5-Jun-19 2:09
professionalNathan Minier5-Jun-19 2:09 
GeneralRe: Security is for the weak Pin
Sander Rossel5-Jun-19 2:34
professionalSander Rossel5-Jun-19 2:34 
GeneralRe: Security is for the weak Pin
Dr.Walt Fair, PE5-Jun-19 6:13
professionalDr.Walt Fair, PE5-Jun-19 6:13 
GeneralRe: Security is for the weak Pin
den2k885-Jun-19 22:48
professionalden2k885-Jun-19 22:48 
GeneralRe: Security is for the weak Pin
Chris Maunder5-Jun-19 4:43
adminChris Maunder5-Jun-19 4:43 
GeneralRe: Security is for the weak Pin
den2k885-Jun-19 22:47
professionalden2k885-Jun-19 22:47 
GeneralRe: Security is for the weak Pin
Nathan Minier6-Jun-19 4:59
professionalNathan Minier6-Jun-19 4:59 
GeneralRe: Security is for the weak Pin
den2k886-Jun-19 5:02
professionalden2k886-Jun-19 5:02 
GeneralRe: Security is for the weak Pin
Nathan Minier6-Jun-19 5:11
professionalNathan Minier6-Jun-19 5:11 
GeneralRe: Security is for the weak Pin
den2k886-Jun-19 5:21
professionalden2k886-Jun-19 5:21 
GeneralRe: Security is for the weak Pin
markrlondon5-Jun-19 22:05
membermarkrlondon5-Jun-19 22:05 
GeneralRe: Security is for the weak Pin
Daniel Pfeffer5-Jun-19 1:18
professionalDaniel Pfeffer5-Jun-19 1:18 
GeneralRe: Security is for the weak Pin
RickZeeland5-Jun-19 1:29
mveRickZeeland5-Jun-19 1:29 
GeneralRe: Security is for the weak Pin
Dr.Walt Fair, PE5-Jun-19 6:15
professionalDr.Walt Fair, PE5-Jun-19 6:15 

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.