Use FORTIFY_SOURCE in release builds
gcc-14 warns when using FORTIFY_SOURCE in debug builds: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ Use it in release builds instead.
parent
88e5f7ec
No related branches found
No related tags found
Please register or sign in to comment