View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001230 | Ecere SDK | compiler | public | 2020-11-09 23:15 | 2020-11-09 23:15 |
| Reporter | jerome | Assigned To | |||
| Priority | immediate | Severity | major | Reproducibility | always |
| Status | new | Resolution | open | ||
| Product Version | 0.44.15 | ||||
| Target Version | 0.44.16 | ||||
| Summary | 0001230: Assigning to data member inside thisless method creating instance misses declaring data struct for class | ||||
| Description | In tested scenario, the data member being assigned was private, and also had a public property named the same, with only a get and no set. To confirm whether this is required to reproduce the problem. The C compiler error message is: error: invalid use of undefined type ‘struct ClassName’ Assigning to a data member of the class elsewere avoids the issue, e.g. __attribute__((unused)) static void eCBugWorkAround() { ClassName d { }; d.foo = 0; } | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-11-09 23:15 | jerome | New Issue |