Re: multiple unsequenced modifications

Bruno Haible <[email protected]> Mon, 01 Jan 2018 09:23:55 +0100
Newsgroups gmane.lisp.clisp.devel
Message-ID <20771750.XsMJ0mY3AQ@omega>
Sam asked on 2017-12-07:
> >> modules/rawsock/rawsock.c:893:48: warning: multiple unsequenced
> >>   modifications to 'STACK' [-Wunsequenced]
> >> It is worth bothering with?
> >
> > Definitely!
> 
> How is this different from -Wsequence-point ?

Look up the manuals: GCC [1] has -Wsequence-point, whereas clang [2]
has -Wsequence-point and -Wunsequenced, and they are synonymous [3].

Bruno

[1] https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gcc/Warning-Options.html
[2] https://clang.llvm.org/docs/DiagnosticsReference.html
[3] https://clang.llvm.org/docs/DiagnosticsReference.html#wsequence-point


------------------------------------------------------------------------------
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