mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
build fmt without support for user-defined literals
MKVToolNix doesn't use them, has no plans for supporting them, and using them causes warnings with -Wpedantic in current versions of gcc.
This commit is contained in:
parent
651b9b7edb
commit
71c6319e26
@ -40,6 +40,10 @@
|
||||
# include <inttypes.h>
|
||||
#endif // HAVE_INTTYPES_H
|
||||
|
||||
// Don't support user-defined literals in fmt as they aren't used by
|
||||
// MKVToolNix and produce a compiler warning in -Wpedantic
|
||||
#define FMT_USE_USER_DEFINED_LITERALS 0
|
||||
|
||||
#include <fmt/format.h>
|
||||
#include <fmt/ostream.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user