- 
    
Bug
 - 
    Resolution: Done
 - 
    
  Not Evaluated                     
     - 
    None
 - 
    Qt Creator 2.6.0-rc
 - 
    None
 - 
    Creator HEAD: ae394dfb2094f682962748720f4405ba07403734
OS: Linux 64-bit 
The following code produces an invalid preprocessing expansion under Creator:
#if !defined(X) && defined(A) foo #endif #if defined(A) bar #endif
If you paste this in Creator, you'll see that the "bar" line is greyed out because A isn't defined, but the "foo" line has a white background. Somehow, Creator thinks that the condition evaluated to true.
Placing parentheses around the negative (as "(!defined(X))") does not help.
- relates to
 - 
                    
QTCREATORBUG-7256 QXmlStreamReader is not recognized by highlighter and autocompletetion
-         
 - Closed
 
 -