Opened 6 years ago
Closed 6 years ago
#774 closed defect (fixed)
Error RdCost
| Reported by: | Jamaika | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | VTM-7.2 |
| Component: | VTM | Version: | VTM-7.0 |
| Keywords: | Cc: | ksuehring, XiangLi, fbossen, jvet@… |
Description
RdCost.cpp: In member function 'void RdCost::copyState(const RdCost&)':
RdCost.cpp:245:11: error: cannot convert 'double' to 'void*'
245 | memcpy( m_dLambdaMotionSAD, other.m_dLambdaMotionSAD, sizeof( m_dLambdaMotionSAD ) );
| ^~~~~~~~~~~~~~~~~~
| |
| double
In file included from c:\msys1000\include\c++\10.0.0\cwchar:44,
from c:\msys1000\include\c++\10.0.0\bits\postypes.h:40,
from c:\msys1000\include\c++\10.0.0\iosfwd:40,
from c:\msys1000\include\c++\10.0.0\ios:38,
from c:\msys1000\include\c++\10.0.0\ostream:38,
from c:\msys1000\include\c++\10.0.0\iostream:39,
from CommonDef.h:42,
from RdCost.h:41,
from RdCost.cpp:40:
c:\msys1000\x86_64-w64-mingw32\include\wchar.h:1442:44: note: initializing argument 1 of 'void* memcpy(void*, const void*, size_t)'
1442 | void *__cdecl memcpy(void * __restrict__ _Dst,const void * __restrict__ _Src,size_t _MaxCount) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
| ~~~~~~~~~~~~~~~~~~~~^~~~
Change history (2)
comment:1 Changed 6 years ago by ksuehring
comment:2 Changed 6 years ago by XiangLi
- Resolution set to fixed
- Status changed from new to closed
Note: See TracTickets for help on using tickets.
A compile fix is submitted here:
https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftware_VTM/merge_requests/1190