| Title | Scheme example has warnings and errors in Xcode |
| Status | closed |
| Priority | optional |
| Assigned user | Gareth Rees |
| Organization | Ravenbrook |
| Description | Compile the "scheme" target. There are 40 warnings, of which these are typical: scheme.c:710:42: Implicit conversion changes signedness: 'int' to 'unsigned long' scheme.c:858:54: Unused parameter 'ld' scheme.c:1212:24: Implicit conversion loses integer precision: 'int' to 'char' scheme.c:1214:18: Comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') The "scheme-advanced" has errors as well as warnings, include: scheme-advanced.c:463:34: Passing 'const char [27]' to parameter of type 'char *' discards qualifiers |
| Analysis | None as yet. |
| How found | manual_test |
| Evidence | None as yet. |
| Created by | Gareth Rees |
| Created on | 2014-02-20 13:51:56 |
| Last modified by | Gareth Rees |
| Last modified on | 2014-02-20 14:46:45 |
| History | 2014-02-20 GDR Created. |
| Change | Effect | Date | User | Description |
|---|---|---|---|---|
| 184401 | closed | 2014-02-20 14:45:10 | Gareth Rees | Avoid "discard qualifiers" error from Xcode. |
| 184399 | open | 2014-02-20 14:38:53 | Gareth Rees | Avoid warnings from Xcode when compiling scheme.c. |
| 184397 | open | 2014-02-20 14:20:41 | Gareth Rees | Merge change 184105 (addition of const) from scheme.c to scheme-advanced.c. |