Files
msgpack-msgpack-c/include/msgpack
James McCoy 304ff96d04 Comment the intentional fallthrough to default from _fixed_trail_again
GCC 7 added a new diagnostic, -Wimplicit-fallthrough, which is enabled
with -Wextra that warns about implicitly falling through a case
statement.

    [  4%] Building C object CMakeFiles/msgpackc-static.dir/src/unpack.c.o
    /usr/lib/gcc-snapshot/bin/gcc   -I/home/jamessan/src/msgpack-c/. -I/home/jamessan/src/msgpack-c/include -I/home/jamessan/src/msgpack-c/build/include  -g -O2 -fdebug-prefix-map=/home/jamessan/src/msgpack-c=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -Wall -Wextra -Werror -g -O3 -o CMakeFiles/msgpackc-static.dir/src/unpack.c.o   -c /home/jamessan/src/msgpack-c/src/unpack.c
    In file included from /home/jamessan/src/msgpack-c/src/unpack.c:283:0:
    /home/jamessan/src/msgpack-c/include/msgpack/unpack_template.h: In function 'template_execute':
    /home/jamessan/src/msgpack-c/include/msgpack/unpack_template.h:238:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
                     ++p;
                     ^~~
    /home/jamessan/src/msgpack-c/include/msgpack/unpack_template.h:240:13: note: here
                 default:
                 ^~~~~~~
    cc1: all warnings being treated as errors

Adding the comment makes it explicit that the fallthrough is
intentional, so gcc doesn't complain.
2017-04-13 11:43:27 -04:00
..
2017-01-15 19:09:31 +09:00
2017-03-15 21:30:07 +09:00
2017-04-11 12:29:12 +09:00
2016-07-11 19:34:10 +09:00
2015-11-21 12:41:46 +09:00
2016-10-11 23:23:06 +09:00
2016-03-25 09:16:27 +09:00
2015-11-21 12:41:46 +09:00
2015-11-21 12:41:46 +09:00
2015-11-21 12:41:46 +09:00
2017-01-05 21:24:25 +09:00
2015-11-21 12:41:46 +09:00
2017-01-15 19:09:31 +09:00
2015-11-21 12:41:46 +09:00
2017-01-05 21:24:25 +09:00
2015-11-21 12:41:46 +09:00
2017-02-04 19:04:14 +09:00
2015-11-21 12:41:46 +09:00
2015-11-21 12:41:46 +09:00
2016-08-26 16:56:01 +02:00
2015-11-21 12:41:46 +09:00
2015-11-21 12:41:46 +09:00