WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
273493
Regression(
278060@main
): build error with ENABLE_RELEASE_LOG=OFF and ENABLE_JOURNALD_LOG=OFF
https://bugs.webkit.org/show_bug.cgi?id=273493
Summary
Regression(278060@main): build error with ENABLE_RELEASE_LOG=OFF and ENABLE_J...
Przemyslaw Gorszkowski
Reported
2024-04-30 08:57:00 PDT
/app/webkit/Source/WebCore/Modules/mediasource/MediaSource.cpp:1484:43: error: unused parameter ‘time’ [-Werror=unused-parameter] 1484 | void MediaSource::seeked(const MediaTime& time) | ~~~~~~~~~~~~~~~~~^~~~ cc1plus: all warnings being treated as errors It seems that ALWAYS_LOG does not always log if ENABLE_RELEASE_LOG=OFF and ENABLE_JOURNALD_LOG=OFF and USE_OS_LOG=OFF void MediaSource::seeked(const MediaTime& time) { ALWAYS_LOG(LOGIDENTIFIER, time); monitorSourceBuffers(); } #if ENABLE(RELEASE_LOG) #define RELEASE_LOG_DISABLED 0 #else #define RELEASE_LOG_DISABLED !(USE(OS_LOG) || ENABLE(JOURNALD_LOG)) #endif dummy/empty ALWAYS_LOG:
https://github.com/WebKit/WebKit/blob/main/Source/WTF/wtf/LoggerHelper.h#L100
Attachments
Add attachment
proposed patch, testcase, etc.
Przemyslaw Gorszkowski
Comment 1
2024-04-30 09:02:21 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/27932
EWS
Comment 2
2024-05-01 03:39:12 PDT
Committed
278207@main
(989aca0e762e): <
https://commits.webkit.org/278207@main
> Reviewed commits have been landed. Closing PR #27932 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2024-05-01 03:40:17 PDT
<
rdar://problem/127352547
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug