| Summary: |
Compilation error: In file included from ./b3/B3StackmapGenerationParams.h:31: ./b3/B3ValueRep.h:119:5: error: definition of implicit copy assignment operator for 'ValueRep' is deprecated because it has a user-declared copy constructor [-Werror,-Wdeprecat |
| Product: |
WebKit
|
Reporter: |
Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Component: |
JavaScriptCore | Assignee: |
Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Status: |
RESOLVED
FIXED
|
|
|
| Severity: |
Normal
|
CC: |
ews-watchlist, keith_miller, mark.lam, msaboff, saam, thorton, tzagallo, webkit-bug-importer, ysuzuki
|
| Priority: |
P2
|
Keywords: |
InRadar |
| Version: |
Other | |
|
| Hardware: |
Unspecified | |
|
| OS: |
Unspecified | |
|
| Attachments: |
| Description |
Flags |
|
Patch
|
none
|
|
When compiling I get: In file included from ./b3/B3StackmapGenerationParams.h:31: ./b3/B3ValueRep.h:119:5: error: definition of implicit copy assignment operator for 'ValueRep' is deprecated because it has a user-declared copy constructor [-Werror,-Wdeprecated-copy] ValueRep(const ValueRep&) = default; /b3/B3StackmapValue.cpp:77:19: note: in implicit copy assignment operator for 'JSC::B3::ValueRep' first required here m_reps[index] = rep; Per C++11 and later: “The generation of the implicitly-defined copy assignment operator is deprecated if T has a user-declared destructor or user-declared copy constructor. (since C++11)” so it's missing a copy assignment operator definition.