chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #1438: clang warnings


From: Chicken Trac
Subject: [Chicken-janitors] #1438: clang warnings
Date: Tue, 02 Jan 2018 19:55:54 -0000

#1438: clang warnings
----------------------------+--------------------------------
 Reporter:  mario           |                 Owner:
     Type:  defect          |                Status:  new
 Priority:  minor           |             Milestone:  someday
Component:  compiler        |               Version:  5.0
 Keywords:  clag, warnings  |  Estimated difficulty:
----------------------------+--------------------------------
 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.
 }}}

--
Ticket URL: <https://bugs.call-cc.org/ticket/1438>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]