Skip to content

Remove gcc 12 warnings

Stefano Camarda requested to merge gcc12-warnings into master

In gcc v12 and v13 the compilation throws these warnings:

warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]

Added -O compiler flags in CMakeLists.txt

Added also -ggdb and -fopenmp flags controlled by -DCMAKE_BUILD_TYPE=Debug and -DOPENMP

Merge request reports