[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    Re: [cfe-dev] Is it possible to avoid FP when there is #ifdef in the code
From:       Csaba Raduly via cfe-dev <cfe-dev () lists ! llvm ! org>
Date:       2015-08-27 7:31:48
Message-ID: CAEhDDbCEts1nnjBPi28QEyVd8J3tmfRYwgUPaVQVNcjcjdt7GA () mail ! gmail ! com
[Download RAW message or body]

On Thu, Aug 27, 2015 at 8:37 AM, Daniel Marjamäki wrote:
> 
> Hello!
> 
> > I don't think it's fair to call this a false positive, unless the "XYZ" macro is \
> > defined.
> 
> I also agree it is not fair to call this a false positive. But technically it is a \
> false positive. You and I can see that the variable is used.

Technically it *is* a false positive. The compiler cannot see the
variable being used.

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
_______________________________________________
cfe-dev mailing list
cfe-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic