Mercurial > hg > orthanc
changeset 2362:f47fd47b3c91
removal of -Wno-implicit-function-declaration compiler flag
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 Aug 2017 13:53:29 +0200 |
parents | f58b6bdbd63b |
children | f8ef157f2d73 |
files | Resources/CMake/Compiler.cmake |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/CMake/Compiler.cmake Thu Jul 20 16:13:52 2017 +0200 +++ b/Resources/CMake/Compiler.cmake Mon Aug 21 13:53:29 2017 +0200 @@ -7,7 +7,8 @@ endif() if (CMAKE_COMPILER_IS_GNUCXX) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-long-long -Wno-implicit-function-declaration") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-long-long") + # --std=c99 makes libcurl not to compile # -pedantic gives a lot of warnings on OpenSSL set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-long-long -Wno-variadic-macros")