Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitef77810

Browse files
committed
Fixes#264
Address compiler warning in is_udp.hpp, make sure -Wall is added to all targets when being built.
1 parenta513b54 commitef77810

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

‎CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ if (OPENSSL_FOUND)
2121
include_directories(${OPENSSL_INCLUDE_DIR})
2222
endif()
2323

24+
if (${CMAKE_CXX_COMPILER_ID}MATCHESGNU)
25+
set (CMAKE_CXX_FLAGS"${CMAKE_CXX_FLAGS} -Wall")
26+
endif()
27+
2428
if (Boost_FOUND)
2529
if (MSVC)
2630
add_definitions(-D_SCL_SECURE_NO_WARNINGS)

‎boost/network/support/is_udp.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ namespace boost { namespace network {
2424

2525
}// namespace boost
2626

27-
#endif// BOOST_NETWORK_SUPPORT_IS_UDP_HPP_20100622
27+
#endif// BOOST_NETWORK_SUPPORT_IS_UDP_HPP_20100622
28+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp