Skip to content

Commit c1b7d44

Browse files
ci(build): fix windows build errors from ddup [backport 3.7] (#13431)
Backport 7e2d4f5 from #13368 to 3.7. ## Checklist - [x] PR author has checked that all the criteria below are met - The PR description includes an overview of the change - The PR description articulates the motivation for the change - The change includes tests OR the PR description describes a testing strategy - The PR description notes risks associated with the change, if any - Newly-added code is easy to change - The change follows the [library release note guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html) - The change includes or references documentation updates if necessary - Backport labels are set (if [applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)) ## Reviewer Checklist - [x] Reviewer has checked that all the criteria below are met - Title is accurate - All changes are related to the pull request's stated goal - Avoids breaking [API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces) changes - Testing strategy adequately addresses listed risks - Newly-added code is easy to change - Release note makes sense to a user of the library - If necessary, author has acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment - Backport labels are set in a manner that is consistent with the [release branch maintenance policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting) Co-authored-by: Taegyun Kim <[email protected]>
1 parent ea27de2 commit c1b7d44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ddtrace/internal/datadog/profiling/cmake/AnalysisFunc.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ function(add_ddup_config target)
1818
/w44265 # Warn on shadowed variables (equivalent to -Wshadow)
1919
/w44287 # Warn on missing virtual destructors (equivalent to -Wnon-virtual-dtor)
2020
/w44412 # Warn on old-style casts (equivalent to -Wold-style-cast)
21+
/wd4125
22+
/wd4389
2123
/wd4201 # Don't treat the following as an error C4201: nonstandard extension used: nameless
2224
# struct/union
2325
/wd4267 # conversion from 'size_t' to 'unsigned short', possible loss of data

0 commit comments

Comments
 (0)