1
0
Fork 0
forked from lthn/blockchain

linux build: suppress -Wno-comment globally

This commit is contained in:
sowle 2022-05-12 00:11:34 +02:00
parent 607d634078
commit 22ed8009c5
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -103,7 +103,7 @@ else()
else()
set(ARCH_FLAG "-march=${ARCH}")
endif()
set(WARNINGS "-Wall -Wextra -Wpointer-arith -Wvla -Wwrite-strings -Wno-error=extra -Wno-error=deprecated-declarations -Wno-error=sign-compare -Wno-error=strict-aliasing -Wno-error=type-limits -Wno-unused-parameter -Wno-error=unused-variable -Wno-aggregate-return -Wcomment")
set(WARNINGS "-Wall -Wextra -Wpointer-arith -Wvla -Wwrite-strings -Wno-error=extra -Wno-error=deprecated-declarations -Wno-error=sign-compare -Wno-error=strict-aliasing -Wno-error=type-limits -Wno-unused-parameter -Wno-error=unused-variable -Wno-aggregate-return -Wno-comment")
# if(NOT APPLE)
# set(WARNINGS "${WARNINGS} -Werror")
# endif()