zstd/lib/common
W. Felix Handte 450542d3a7 Allow Empty Format Strings in Error Macro Invocations
`-Wall` implies `-Wformat-zero-length`, which will cause compilation to fail
under `-Werror` when an empty string is passed as the format string to a
`printf`-family function. This commit moves us back to prefixing the provided
format string, which successfully avoids that warning.

However, this removes the failure mode where that `RAWLOG` invocation would
fail to compile when no format string was provided at all (which was desirable
to avoid having code that would successfully compile normally but fail under
`-pedantic`, which *does* require that a non-zero number of args are provided).

So this commit also introduces a function which does nothing at all, but will
fail to compile if not provided with at least one argument, which is a string.
This successfully links the compilability of pedantic and non-pedantic builds.
2020-05-04 10:59:15 -04:00
..
bitstream.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
compiler.h Merge pull request #2040 from caoyzh/dev-2 2020-04-08 13:14:47 -07:00
cpu.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
debug.c Fix copyright and license lines 2020-03-26 17:02:06 -07:00
debug.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
entropy_common.c Fix copyright and license lines 2020-03-26 17:02:06 -07:00
error_private.c [lib] Add ZSTD_d_stableOutBuffer 2020-04-27 18:09:44 -07:00
error_private.h Code replicated in compression and decompression moved to shared headers 2020-04-07 11:02:06 +02:00
fse_decompress.c Code replicated in compression and decompression moved to shared headers 2020-04-07 11:02:06 +02:00
fse.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
huf.h Fix superblock mode (#2100) 2020-05-01 16:11:47 -07:00
mem.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
pool.c Fix copyright and license lines 2020-03-26 17:02:06 -07:00
pool.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
threading.c Fix copyright and license lines 2020-03-26 17:02:06 -07:00
threading.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
xxhash.c Fix copyright and license lines 2020-03-26 17:02:06 -07:00
xxhash.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
zstd_common.c Fix copyright and license lines 2020-03-26 17:02:06 -07:00
zstd_errors.h [lib] Add ZSTD_d_stableOutBuffer 2020-04-27 18:09:44 -07:00
zstd_internal.h Allow Empty Format Strings in Error Macro Invocations 2020-05-04 10:59:15 -04:00