]> git.ipfire.org Git - thirdparty/zstd.git/commit
removed gcc compilation flag -Wbad-function-cast
authorYann Collet <cyan@fb.com>
Tue, 16 May 2017 18:34:38 +0000 (11:34 -0700)
committerYann Collet <cyan@fb.com>
Tue, 16 May 2017 18:34:38 +0000 (11:34 -0700)
commit2d4d31c18a739ba46f2c392e7649a315bdb1df74
treef3097bd32a4abaca76f16d4f20f2084d429fa8a3
parent46ac9ade9bf566323adff6140460e715db5a6968
removed gcc compilation flag -Wbad-function-cast

It makes it more difficult to directly cast the result of a function,
requiring to store the result in an intermediate variable.
It does not necessarily help readability,
and this restriction can be difficult to overcome in some constructions,
like some macros.

also : fixed minor Visual conversion warnings in datagencli.c
lib/Makefile
programs/Makefile
tests/Makefile
tests/datagencli.c