Summary
clang warnings
Metadata
- Id: a1a061a75e70873a87247d7cb17138985000dbb5
- Trac id: 1438
- Type: defect
- Reporter: mario
- Owner:
- Cc:
- Status: closed
- Component: compiler
- Estimated difficulty:
- Resolution: fixed
- Priority: minor
- Milestone: 5.0
- Version: 5.0.0
- Changetime: 2018-05-01 20:08:15 UTC
- Created: 2018-01-02 20:55:54 UTC
- Keywords: clag, warnings
Description
clang emits some warnings when compiling CHICKEN 5 and code generated by chicken.
See https://salmonella-freebsd-x86-64.call-cc.org/master/clang/freebsd/x86-64/2018/01/02/run-salmonella.logz and https://salmonella-freebsd-x86-64.call-cc.org/master/clang/freebsd/x86-64/2018/01/02/salmonella-report/install/binary-search.html for examples:
In file included from extras.c:9:
./chicken.h:2411:37: warning: expression result unused [-Wunused-value]
C_CHECKp(x,C_bignump(C_VAL1(x)),0);
^
./chicken.h:858:37: note: expanded from macro 'C_CHECKp'
# define C_CHECKp(v,a,x) (x)
^
1 warning generated.
Changes and comments
[2018-04-29 12:35:25 UTC] mario changed milestone from someday to 5.0
[2018-05-01 20:08:15 UTC] kooda changed status from new to closed
[2018-05-01 20:08:15 UTC] kooda set resolution to fixed
[2018-05-01 20:08:15 UTC] kooda wrote:
Fixed by 701ab0dda7fc15165e6335fd0ad33d58f084ff90