clisp -Wshift-negative-value on
Sam Steingold <[email protected]>
| Newsgroups | gmane.lisp.clisp.devel |
|---|---|
| Message-ID | <m1bmuc35ba.fsf@clr-sds> |
Hi Bruno,
is this benign?
--8<---------------cut here---------------start------------->8---
../src/debug.d:571:7: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
dynamic_unbind(S(standard_input));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/lispbibl.d:12811:5: note: expanded from macro 'dynamic_unbind'
dynamic_unbind_g(); \
^~~~~~~~~~~~~~~~~~
../src/lispbibl.d:12804:3: note: expanded from macro 'dynamic_unbind_g'
CHECK_DYNBIND; \
^~~~~~~~~~~~~
../src/lispbibl.d:12798:53: note: expanded from macro 'CHECK_DYNBIND'
if (!((as_oint(STACK_0) & wbit(frame_bit_o)) && framecode(STACK_0))) \
^~~~~~~~~~~~~~~~~~
../src/lispbibl.d:12318:59: note: expanded from macro 'framecode'
#define framecode(bottomword) (as_oint(bottomword) & minus_wbit(FB1))
^~~~~~~~~~~~~~~
../src/lispbibl.d:3042:23: note: expanded from macro 'minus_wbit'
#define minus_wbit minus_bit
^
../src/lispbibl.d:1195:27: note: expanded from macro 'minus_bit'
#define minus_bit(n) (-1L<<(n))
~~~^
--8<---------------cut here---------------end--------------->8---
Darwin 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64
$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin16.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
--
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504
http://steingoldpsychology.com http://www.childpsy.net https://ffii.org
http://iris.org.il http://islamexposedonline.com http://memri.org
Shady characters are often very bright.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel