Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] A annoying "error" in org.eclipse.cdt.debug.ui.memory.traditional.Rendering

That looks bad to me.
Do you mind opening a bug?

P.S. I just turned on "Possible accidental boolean assignment" in my workspace.

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Andy Jin
> Sent: March-16-10 1:45 PM
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] A annoying "error" in 
> org.eclipse.cdt.debug.ui.memory.traditional.Rendering
> 
> In CDT Head, the class
> org.eclipse.cdt.debug.ui.memory.traditional.Rendering fails to compile
> in my workspace. I have the preference "Java -> Compiler ->
> Errors/Warnings -> Possible accidental boolean assignment 
> (e.g. 'if(a =
> b)'):" set to the level of Error. In line 1816 of this class:
> 
> if(fIsDisplayLittleEndian = littleEndian)
> 
> This seems to be an accidental boolean assignment.
> 
> Has anyone seen this? Or has anyone set that compiler option to Error?
> 
> Thanks,
> Andy
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 

Back to the top