Compiler Error C2280 with std::dynamic_pointer_cast (/GR-)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by reproducing the reported C2280 error while compiling the Xbox Live API with /GR- and locate the uses of std::dynamic_pointer_cast involved. Determine whether those casts can be changed without altering behavior, then verify that the affected compilation succeeds with /GR-.
Written by the indexing model from the issue text.
Description
Hello,
I encounter compiler error C2280 when trying compiling with /GR- (need to change it to /GR).
Severity Code Description Project File Line Suppression State
Error C2280 'std::shared_ptr<_Ty> std::dynamic_pointer_cast<... &&) noexcept': attempting to reference a deleted function
The issue is std::dynamic_pointer_cast need /GR, could you please advise me if all std::dynamic_pointer_cast could be removed (they seems to cast to the same class or base class)?
TBH, I don't understand why do we need std::dynamic_pointer_cast...
Best Regards,
Khai
- Dominant language
- C++
- Stars
- 390
- Forks
- 118
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/xbox-live-api
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
microsoft/xbox-live-api#609 ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
microsoft/xbox-live-api#607 ·
-
Difficulty 5/5 Over a week Newbie friendliness 1/100
microsoft/xbox-live-api#605 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
microsoft/xbox-live-api#590 · 2 comments · 1 reaction ·
All issues in microsoft/xbox-live-api
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gazebosim/gz-sensors#662 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LadybirdBrowser/ladybird#12123 ·