Community
Participate
Working Groups
Created attachment 82791 [details] Patch for CBasicType on HEAD Build ID: M20071023-1652 Steps To Reproduce: long long i; unsigned char c; i = 1; // ICBasicType.isLongLong() == false c = 1; // ICBasicType.isLongLong() == true More information: CBasicType incorrectly copies from the ICASTSimpleDeclSpecifier in the case of long long - a simple cut and paste error. The consequence is that all unsigned variables appear to be long long, and signed long long is not a long long.
This affects the cdt_3_1 and cdt_4_0 branches as well; please fix there as well. I can submit patches and bug reports for those if necessary, but it's an extremely small change. Best regards, Jon
Fixed in 4.0.2 and 5.0 > 20071122.