WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
280919
REGRESSION(
284709@main
): [Clang 18] error: 'suppress' attribute only applies to variables and statements
https://bugs.webkit.org/show_bug.cgi?id=280919
Summary
REGRESSION(284709@main): [Clang 18] error: 'suppress' attribute only applies ...
Fujii Hironori
Reported
2024-10-04 16:45:55 PDT
Windows port can't compile after
284709@main
Buildbot: builder Windows-64-bit-Release-Build build 778 :
284709@main
https://build.webkit.org/#/builders/1192/builds/778
In file included from C:\BW\Windows-64-bit-Release-Build\build\WebKitBuild\Release\WebKit\DerivedSources\RemoteBindGroupLayoutMessageReceiver.cpp:27: C:\BW\Windows-64-bit-Release-Build\build\Source\WebKit\GPUProcess\graphics\WebGPU\RemoteBindGroupLayout.h(63,5): error: 'suppress' attribute only applies to variables and statements 63 | SUPPRESS_UNCOUNTED_ARG std::optional<SharedPreferencesForWebProcess> sharedPreferencesForWebProcess() const { return m_gpu->sharedPreferencesForWebProcess(); } | ^ C:\BW\Windows-64-bit-Release-Build\build\WebKitBuild\Release\WTF\Headers\wtf\Compiler.h(547,5): note: expanded from macro 'SUPPRESS_UNCOUNTED_ARG' 547 | IGNORE_CLANG_STATIC_ANALYZER_WARNINGS_ATTRIBUTE("alpha.webkit.UncountedCallArgsChecker") | ^ C:\BW\Windows-64-bit-Release-Build\build\WebKitBuild\Release\WTF\Headers\wtf\Compiler.h(506,73): note: expanded from macro 'IGNORE_CLANG_STATIC_ANALYZER_WARNINGS_ATTRIBUTE' 506 | #define IGNORE_CLANG_STATIC_ANALYZER_WARNINGS_ATTRIBUTE(warning, ...) [[clang::suppress]] | ^
Attachments
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2024-10-04 17:27:19 PDT
This is a similar issue with
bug#274484
.
Fujii Hironori
Comment 2
2024-10-04 17:35:19 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/34730
EWS
Comment 3
2024-10-04 19:13:25 PDT
Committed
284720@main
(4a1d16f6ea01): <
https://commits.webkit.org/284720@main
> Reviewed commits have been landed. Closing PR #34730 and removing active labels.
Radar WebKit Bug Importer
Comment 4
2024-10-04 19:14:15 PDT
<
rdar://problem/137322399
>
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