Skip to content

Commit 90cbbd3

Browse files
authored
Address deprecation warnings-as-errors on RHEL 7.9 (#1313)
* Remove RHEL 7.9 workaround for calc_release_version.py
1 parent 606ad78 commit 90cbbd3

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.evergreen/config_generator/components/compile_only.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ def generate_tasks():
6161
if any(pattern in distro_name for pattern in ['power8', 'zseries']):
6262
patchable = False
6363

64-
# etc/calc_release_version.py: error: unknown option `--format=...'
65-
if distro_name == 'rhel79':
66-
patchable = False
67-
6864
res.append(
6965
EvgTask(
7066
name=name,

.evergreen/generated_configs/tasks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ tasks:
168168
- name: compile-only-rhel79-release-shared-impls
169169
run_on: rhel79-large
170170
tags: [compile-only, rhel79, release, shared, impls]
171-
patchable: false
172171
commands:
173172
- func: setup
174173
- func: fetch_c_driver_source

src/mongocxx/lib/mongocxx/v_noabi/mongocxx/exception/authentication_exception.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
#include <bsoncxx/private/suppress_deprecation_warnings.hh>
16+
17+
//
18+
19+
BSONCXX_SUPPRESS_DEPRECATION_WARNINGS_BEGIN
20+
21+
//
22+
1523
#include <mongocxx/exception/authentication_exception.hpp>
1624

1725
namespace mongocxx {
@@ -21,3 +29,5 @@ authentication_exception::~authentication_exception() = default;
2129

2230
} // namespace v_noabi
2331
} // namespace mongocxx
32+
33+
BSONCXX_SUPPRESS_DEPRECATION_WARNINGS_END

0 commit comments

Comments
 (0)