[LLVMbugs] [Bug 7962] New: error: expression is not assignable
    bugzilla-daemon at llvm.org 
    bugzilla-daemon at llvm.org
       
    Sat Aug 21 22:26:38 PDT 2010
    
    
  
http://llvm.org/bugs/show_bug.cgi?id=7962
           Summary: error: expression is not assignable
           Product: clang
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: shailesh.mark at gmail.com
                CC: llvmbugs at cs.uiuc.edu
marks the statement "++number2;" as not assignable with a caret underneath the
increment.
the error really is the missing ; at the end of the previous statement 
*lngPtr = 2
once that is corrected as *lngPtr = 2; compilation goes smoothly. 
*lngPtr = 2
++number2; // error as above
----------------------------
*lngPtr = 2;
++number2; // no error
-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
    
    
More information about the llvm-bugs
mailing list