projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1ac9e48
)
[TFTPD] Disable format-overflow warnings
author
Timo Kreuzer
<timo.kreuzer@reactos.org>
Sun, 28 Apr 2019 17:29:45 +0000
(19:29 +0200)
committer
Hervé Poussineau
<hpoussin@reactos.org>
Mon, 27 May 2019 11:22:40 +0000
(13:22 +0200)
base/services/tftpd/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/base/services/tftpd/CMakeLists.txt
b/base/services/tftpd/CMakeLists.txt
index
0ae2efa
..
0159e0e
100644
(file)
--- a/
base/services/tftpd/CMakeLists.txt
+++ b/
base/services/tftpd/CMakeLists.txt
@@
-1,4
+1,8
@@
+if(NOT MSVC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0)
+ add_compile_flags("-Wno-format-overflow")
+endif()
+
add_executable(tftpd tftpd.cpp)
set_module_type(tftpd win32cui)
add_importlibs(tftpd advapi32 ws2_32 iphlpapi msvcrt kernel32)
add_executable(tftpd tftpd.cpp)
set_module_type(tftpd win32cui)
add_importlibs(tftpd advapi32 ws2_32 iphlpapi msvcrt kernel32)