Skip to content

build: update C++ flags for recent Mac compiler warnings#5050

Merged
algorandskiy merged 1 commit into
algorand:masterfrom
cce:silence-deprecated-warnings
Jan 25, 2023
Merged

build: update C++ flags for recent Mac compiler warnings#5050
algorandskiy merged 1 commit into
algorand:masterfrom
cce:silence-deprecated-warnings

Conversation

@cce
Copy link
Copy Markdown
Contributor

@cce cce commented Jan 24, 2023

Summary

A recent release to the Mac C/C++ build tools have caused warnings about sprintf to appear when building the data/committee/sortition package while parsing a Boost header that uses sprintf. This silences those warnings, as our usage of Boost's boost::math::binomial_distribution should not invoke these sprintf calls.

Test Plan

Existing tests should pass

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 24, 2023

Codecov Report

Merging #5050 (da0fcb2) into master (7e37e00) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5050      +/-   ##
==========================================
- Coverage   53.48%   53.47%   -0.01%     
==========================================
  Files         429      429              
  Lines       54043    54043              
==========================================
- Hits        28904    28899       -5     
- Misses      22894    22896       +2     
- Partials     2245     2248       +3     
Impacted Files Coverage Δ
data/committee/sortition/sortition.go 82.35% <ø> (ø)
ledger/testing/randomAccounts.go 55.65% <0.00%> (-1.23%) ⬇️
ledger/acctupdates.go 69.24% <0.00%> (-0.25%) ⬇️
network/wsNetwork.go 64.74% <0.00%> (-0.18%) ⬇️
catchup/service.go 69.80% <0.00%> (+0.72%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@algorandskiy algorandskiy merged commit 427a119 into algorand:master Jan 25, 2023
@cce cce deleted the silence-deprecated-warnings branch February 2, 2023 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants