| Summary: | error: ‘spec’ undeclared (first use in this function) | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | larissanadja |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
Fixed in git. |
Use of undeclared variable The code bellow is compiled when the macro DEBUG is enabled. However, the variable 'spec' is undeclared. coreutils/od_bloaty.c:1376:7: error: ‘spec’ undeclared (first use in this function) i, spec[i].fmt_string, width_bytes[spec[i].size]);