[Webkit-unassigned] [Bug 280401] New: [CMake] Add compiler options to catch undefined symbols earlier

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 26 05:36:31 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=280401

            Bug ID: 280401
           Summary: [CMake]  Add compiler options to catch undefined
                    symbols earlier
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CMake
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com

We could add -Werror=undefined-inline, -Werror=undefined-internal, and
-Werror=undefined-func-template to the compiler flags. This will make the
compilation stop if a function needed does not have a definition in scope.
Currently e.g. undefined inlines will let compilation continue and then
fail at link time with harder to understand errors, so it's better to
have the compiler inform where exactly the issue was.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240926/bb97fb8a/attachment-0001.htm>


More information about the webkit-unassigned mailing list