• Stephan Bergmann's avatar
    external/lcms2: Stop warnings/errors about "register" · 2bea600f
    Stephan Bergmann yazdı
    ...when workdir/UnpackedTarball/lcms2/include/lcms2.h is included from
    workdir/UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_colorspace.cpp
    (Library_pdfium).  Even with -std=gnu++17, GCC only emits a warning (that is not
    promoted to an error when building external Library_pdfium) about "register",
    but at least recent trunk Clang does emit an error by default.  (Clang used to
    have a bug by which it failed to emit any warning/error for uses of "register"
    on function parameters, but that got recently fixed with
    <http://llvm.org/viewvc/llvm-project?view=revision&revision=317140> "Fix missing
    -Wregister warning when 'register' is applied to a function parameter", causing
    an --enable-werror build failure now when building in C++17 mode with
    <https://gerrit.libreoffice.org/#/c/43851/> "Build as C++17 when GCC/Clang
    supports it" locally included.)
    
    So instead of trying to further demote any warnings/errors about those uses of
    "register", just patch them away for good.
    
    Change-Id: I7c8757e654d87be710eaaafa871300656d9ee8ff
    2bea600f
Adı
Son kayıt (commit)
Son güncelleme
..
0001-Added-an-extra-check-to-MLU-bounds.patch.1 Loading commit data...
ExternalPackage_lcms2.mk Loading commit data...
ExternalProject_lcms2.mk Loading commit data...
Makefile Loading commit data...
Module_lcms2.mk Loading commit data...
README Loading commit data...
UnpackedTarball_lcms2.mk Loading commit data...
c++17.patch.0 Loading commit data...
lcms2-2.4-windows.patch Loading commit data...
lcms2-msvc-disable-sse2.patch.1 Loading commit data...