[webkit-changes] [WebKit/WebKit] e071c8: [CMake] Clang warnings about C code being built in...

Lauro Moura noreply at github.com
Sun Nov 13 20:25:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e071c895f5fcd0dcbc1854af9dbdbc18883583a7
      https://github.com/WebKit/WebKit/commit/e071c895f5fcd0dcbc1854af9dbdbc18883583a7
  Author: Lauro Moura <lmoura at igalia.com>
  Date:   2022-11-13 (Sun, 13 Nov 2022)

  Changed paths:
    M Source/bmalloc/CMakeLists.txt
    M Source/bmalloc/libpas/src/libpas/pas_utils.h
    M Source/cmake/WebKitCompilerFlags.cmake

  Log Message:
  -----------
  [CMake] Clang warnings about C code being built in C++ mode
https://bugs.webkit.org/show_bug.cgi?id=245176

Reviewed by Yusuke Suzuki.

* Source/bmalloc/CMakeLists.txt: Use a flag to control how to treat C as
  CXX.
* Source/bmalloc/libpas/src/libpas/pas_utils.h: Add ignore
  atomic-alignment in some clang atomics
* Source/cmake/WebKitCompilerFlags.cmake: Set the C_AS_CXX flag for gcc
  and clang.

Canonical link: https://commits.webkit.org/256626@main




More information about the webkit-changes mailing list