Skip to content

Address GCC 14 compiler diagnostics

Jean-Noël Grad requested to merge jngrad/walberla:alloc-zero into master

The new T[0] expressions trigger the -Walloc-zero and -Walloc-size (from -Wextra) diagnostics from GCC 14. According to the C++ standard, it is safe to call delete[] on a null pointer.

Merge request reports