google / google/googletest

Deprecated implicit copy assignment/constructor

Open
#2,224 5 comments 15 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
39.5k
Forks
10.9k
Avg merge
6d 13h
Merged PRs (30d)
1

Description

I am having trouble getting googletest to compile. The problem is that many classes rely on a default move constructor while defining a copy or move assignment operator. This has been deprecated and the compiler rightly complains about this.

Since googletest also defines warnings as errors it means it just doesn't work.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the googletest build with warnings treated as errors and capture the affected classes and compiler diagnostics. Done means the project compiles without deprecated implicit-copy warnings under that configuration; the issue names no specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.