Summary: | type array are reversed | ||
---|---|---|---|
Product: | [Tools] CDT | Reporter: | Alain Magloire <alain> |
Component: | cdt-debug | Assignee: | cdt-debug-inbox <cdt-debug-inbox> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | critical | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0.1 | ||
Hardware: | PC | ||
OS: | All | ||
Whiteboard: |
Description
Alain Magloire
2004-08-14 21:54:46 EDT
Fix in 1_2_1, 2_0 and head I'd like to verify this, but not sure how... I've defined the int array[2][3] values and they show up correctly in the variables view. Is that all I need to do or was there a cast to type problem? > I'd like to verify this, but not sure how...
> I've defined the int array[2][3]
> values and they show up correctly in the variables view.
> Is that all I need to do or was there a cast to type problem?
Yes, in the variable view, show the type. If in your code
you have
int array[2][3];
It used to show as the type for array
int [3][2]
Obviously this is wrong, the element indexes were reversed.
It should say now
int [2] [3]
Thanks.
Alrighty then, I clicked the "show type names" button in the variables view and all is well. You get to mark this defect verified Alain, since I'm not the reporter. Thanks. I verified in CDT 2.0.1 build 200408271356 and CDT 2.1.0 build 200408270300. > You get to mark this defect verified Alain, since I'm not the reporter.
> Thanks.
Merci bucket for checking this.
|