Skip to content

Commit b9db439

Browse files
committed
build: remove -Wno-maybe-uninitialized from GCC flags
fix #979
1 parent fdb3ca4 commit b9db439

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

build/Jamfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ project
3232
$(c11-requires)
3333
<define>BOOST_URL_SOURCE
3434
<toolset>msvc-14.0:<build>no
35-
# Warnings in dependencies
36-
<toolset>gcc:<cxxflags>"-Wno-maybe-uninitialized"
3735
<toolset>gcc,<target-os>windows:<cxxflags>"-Wno-error=array-bounds"
3836
: common-requirements
3937
<link>shared:<define>BOOST_URL_DYN_LINK=1

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ endif()
1818
if (BOOST_URL_WARNINGS_AS_ERRORS)
1919
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
2020
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 7)
21-
set(BOOST_URL_TEST_FLAGS "-Wall -Werror -Wno-unused-but-set-variable -Wno-maybe-uninitialized")
21+
set(BOOST_URL_TEST_FLAGS "-Wall -Werror -Wno-unused-but-set-variable")
2222
else()
2323
set(BOOST_URL_TEST_FLAGS "-Wall -Werror -Wno-unused-but-set-variable")
2424
endif()

test/Jamfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ project
2020

2121
# Warnings in dependencies
2222
<toolset>gcc:<cxxflags>"-Wno-unused-but-set-variable"
23-
<toolset>gcc:<cxxflags>"-Wno-maybe-uninitialized"
2423
<toolset>gcc-15:<cxxflags>"-Wno-deprecated-declarations"
2524
<toolset>gcc,<target-os>windows:<cxxflags>"-Wno-error=array-bounds"
2625
<toolset>clang:<cxxflags>"-Wno-unused-but-set-variable"

0 commit comments

Comments
 (0)