Opened 8 years ago
Closed 8 years ago
#1438 closed defect (fixed)
clang warnings
| Reported by: | Mario Domenech Goulart | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 5.0 |
| Component: | compiler | Version: | 5.0.0 |
| Keywords: | clag, warnings | Cc: | |
| Estimated difficulty: |
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.
Change History (2)
comment:1 Changed 8 years ago by
| Milestone: | someday → 5.0 |
|---|
comment:2 Changed 8 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.

Fixed by 701ab0dda7fc15165e6335fd0ad33d58f084ff90