File tree Expand file tree Collapse file tree 3 files changed +5
-16
lines changed Expand file tree Collapse file tree 3 files changed +5
-16
lines changed Original file line number Diff line number Diff line change 8
8
- ADDED: Add support for accessing edge flags in ` process_segment ` [ #6658 ] ( https://github.com/Project-OSRM/osrm-backend/pull/6658 )
9
9
- Build:
10
10
- CHANGED: Upgrade CI actions to latest versions [ #6893 ] ( https://github.com/Project-OSRM/osrm-backend/pull/6893 )
11
+ - CHANGED: Remove outdated warnings #6894 [ #6894 ] ( https://github.com/Project-OSRM/osrm-backend/pull/6894 )
11
12
- ADDED: Add CI job which builds OSRM with gcc 12. [ #6455 ] ( https://github.com/Project-OSRM/osrm-backend/pull/6455 )
12
13
- CHANGED: Upgrade to clang-tidy 15. [ #6439 ] ( https://github.com/Project-OSRM/osrm-backend/pull/6439 )
13
14
- CHANGED: Update actions/cache to v3. [ #6420 ] ( https://github.com/Project-OSRM/osrm-backend/pull/6420 )
Original file line number Diff line number Diff line change @@ -50,9 +50,7 @@ add_warning(all)
50
50
add_warning (extra )
51
51
add_warning (pedantic )
52
52
add_warning (error ) # treat all warnings as errors
53
- if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
54
- add_warning (strict-overflow=2 )
55
- elseif (CMAKE_CXX_COMPILER_ID MATCHES "GNU" )
53
+ if (CMAKE_CXX_COMPILER_ID MATCHES "GNU" )
56
54
add_warning (strict-overflow=1 )
57
55
endif ()
58
56
add_warning (suggest-override )
@@ -79,15 +77,5 @@ add_warning(sizeof-array-argument)
79
77
add_warning (switch-bool )
80
78
add_warning (tautological-compare )
81
79
add_warning (trampolines )
82
- no_warning (c++17-extensions )
83
- # TODO: these warnings are not enabled by default, but we consider them as useful and good to enable in the future
84
- no_warning (implicit-int-conversion )
85
- no_warning (implicit-float-conversion )
86
- no_warning (unused-member-function )
87
- no_warning (old-style-cast )
88
- no_warning (non-virtual-dtor )
89
- no_warning (float-conversion )
90
- no_warning (sign-conversion )
91
- no_warning (shorten-64-to-32 )
92
- no_warning (padded )
93
- no_warning (missing-noreturn )
80
+ # these warnings are not enabled by default
81
+ # no_warning(name-of-warning)
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ BOOST_AUTO_TEST_CASE(test_json_issue_6531)
87
87
BOOST_CHECK_EQUAL (output, " 0.1234567892" );
88
88
89
89
output.clear ();
90
- renderer (123456789123456789 );
90
+ renderer (123456789123456789 . );
91
91
BOOST_CHECK_EQUAL (output, " 1.234567891e+17" );
92
92
}
93
93
You can’t perform that action at this time.
0 commit comments