Re: clisp -Wshift-negative-value on

Sam Steingold <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <CAFsbZ7a51xMFFFB1ugPGwoAFRGzt5RozANRdNF3zEpDiAWhvQg@mail.gmail.com>
also
clang: warning: optimization flag '-falign-functions=4' is not supported

On Wed, Feb 8, 2017 at 1:28 PM, Sam Steingold <[email protected]> wrote:
> 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.



-- 
Sam Steingold <http://sds.podval.org> <http://www.childpsy.net>
<http://steingoldpsychology.com>

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.