MPS issue job003676

TitleScheme example has warnings and errors in Xcode
Assigned userGareth Rees
DescriptionCompile 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
AnalysisNone as yet.
How foundmanual_test
EvidenceNone as yet.
Created byGareth Rees
Created on2014-02-20 13:51:56
Last modified byGareth Rees
Last modified on2014-02-20 14:46:45
History2014-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.