• Stephan Bergmann's avatar
    Globally disable -Wcast-function-type new with upcoming GCC 8 · ce99754e
    Stephan Bergmann yazdı
    ...which unhelpfully even warns on reinterpret_cast, so causes failures like
    
    > [CXX] sal/osl/unx/signal.cxx
    > sal/osl/unx/signal.cxx: In function ‘bool onInitSignal()’:
    > sal/osl/unx/signal.cxx:267:50: error: cast between incompatible function types from ‘void (*)(int, siginfo_t*, void*)’ to ‘{anonymous}::Handler1’ {aka ‘void (*)(int)’} [-Werror=cast-function-type]
    >                                  oact.sa_sigaction);
    >                                                   ^
    
    And since all incompatible (but deliberate) casts between function types across
    our code base should already be written as reinterpret_cast, we shouldn't lose
    much by just disabling this new warning globally.
    
    Change-Id: If15e9606e8fdc676b61012e31d7369653951ceca
    Reviewed-on: https://gerrit.libreoffice.org/48431Tested-by: 's avatarJenkins <ci@libreoffice.org>
    Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
    ce99754e
Adı
Son kayıt (commit)
Son güncelleme
..
bin Loading commit data...
buck Loading commit data...
clang-cl Loading commit data...
clang-format Loading commit data...
doc/gbuild Loading commit data...
gbuild Loading commit data...
gbuildtojson Loading commit data...
gcc-wrappers Loading commit data...
gdb Loading commit data...
inc Loading commit data...
lldb/libreoffice Loading commit data...
maven Loading commit data...
qa/python Loading commit data...
sanitizers Loading commit data...
vs Loading commit data...
CompilerTest_compilerplugins_clang.mk Loading commit data...
CustomTarget_gbuildtesttools.mk Loading commit data...
Executable_concat-deps.mk Loading commit data...
Executable_g++-wrapper.mk Loading commit data...
Executable_gbuildtojson.mk Loading commit data...
Executable_gcc-wrapper.mk Loading commit data...
Makefile Loading commit data...
Module_solenv.mk Loading commit data...
PythonTest_solenv_python.mk Loading commit data...
README Loading commit data...
StaticLibrary_wrapper.mk Loading commit data...
flatpak-manifest.in Loading commit data...