From: Bruno H. <br...@cl...> - 2017-03-10 17:19:50
|
Hi Sam, > > * Bruno Haible <oe...@py...t> [2017-03-10 14:37:23 +0100]: > > > >> ../src/lispbibl.d:5572:36: warning: left shift of negative value [-Wshift-negative-value] > >> objectplus(obj, (soint)(delta) << oint_data_shift) > >> ^ > > shouldn't it be > > objectplus(obj, (soint)(delta << oint_data_shift)) > > instead? Definitely no. 'delta' can be a simple 'int' (i.e. 32 bits wide), and we have configurations with oint_data_shift = oint_addr_shift = 32. As I said on 2017-02-08, diagnostics from -Wshift-negative-value are most probably just noise. Bruno |