Skip to content

src: fix ignore GCC -Wcast-function-type for older compilers

Fixes: https://github.com/nodejs/node/issues/31517

I don't have an easy access to pre-8 GCC compiler so I haven't explicitly tested this. Perhaps @mscdex can check if this fixes your issue?

GCC8 changelog https://gcc.gnu.org/gcc-8/changes.html which denotes the addition of Wcast-function-type.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading