[webkit-changes] [WebKit/WebKit] 540509: [CMake] Add compiler options to catch undefined s...
Adrian Perez
noreply at github.com
Fri Sep 27 04:13:34 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 54050989e2a33d89cba46650668df1abe6f6b597
https://github.com/WebKit/WebKit/commit/54050989e2a33d89cba46650668df1abe6f6b597
Author: Adrian Perez de Castro <aperez at igalia.com>
Date: 2024-09-27 (Fri, 27 Sep 2024)
Changed paths:
M Source/cmake/WebKitCompilerFlags.cmake
Log Message:
-----------
[CMake] Add compiler options to catch undefined symbols earlier
https://bugs.webkit.org/show_bug.cgi?id=280401
Reviewed by Michael Catanzaro and Fujii Hironori.
Add the -Werror=undefined-inline and -Werror=undefined-internal compiler
flags. This will make the compilation stop if a function needed does not
have a definition in scope.
The compiler can produce better diagnostics and report where exactly
the issue was, instead of letting the linker fail later on; which
improves the edit-compile cycle.
* Source/cmake/WebKitCompilerFlags.cmake:
Canonical link: https://commits.webkit.org/284349@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list