Click here to Skip to main content
15,909,591 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Compiler Warnings... Pin
W Balboos, GHB6-Jun-19 1:44
W Balboos, GHB6-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
obermd6-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
Gary Wheeler6-Jun-19 6:07 
GeneralRe: Compiler Warnings... Pin
I_made_a_womble6-Jun-19 6:30
I_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
kalberts6-Jun-19 11:06
kalberts6-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
cofounderChris 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
markrlondon5-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.