Merge branch 'v0.21.x'
This commit is contained in:
@@ -28,15 +28,15 @@
|
||||
|
||||
void
|
||||
DumpDecoderClient::Ready(const AudioFormat audio_format,
|
||||
gcc_unused bool seekable,
|
||||
bool seekable,
|
||||
SignedSongTime duration) noexcept
|
||||
{
|
||||
assert(!initialized);
|
||||
assert(audio_format.IsValid());
|
||||
|
||||
fprintf(stderr, "audio_format=%s duration=%f\n",
|
||||
fprintf(stderr, "audio_format=%s duration=%f seekable=%d\n",
|
||||
ToString(audio_format).c_str(),
|
||||
duration.ToDoubleS());
|
||||
duration.ToDoubleS(), seekable);
|
||||
|
||||
initialized = true;
|
||||
}
|
||||
|
@@ -6,10 +6,14 @@ if compiler.get_id() == 'gcc'
|
||||
gtest_compile_args += [
|
||||
'-Wno-suggest-attribute=format',
|
||||
'-Wno-suggest-attribute=noreturn',
|
||||
'-Wno-missing-declarations',
|
||||
]
|
||||
endif
|
||||
|
||||
# needed on Jessie for gtest's IsNullLiteralHelper
|
||||
'-Wno-conversion-null',
|
||||
if compiler.get_id() == 'clang' and compiler.version().version_compare('>=9')
|
||||
gtest_compile_args += [
|
||||
# work around clang warning caused by GTest's wrong "-lpthread"
|
||||
# compiler flag
|
||||
'-Wno-unused-command-line-argument',
|
||||
]
|
||||
endif
|
||||
|
||||
|
Reference in New Issue
Block a user