Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force gcc to treate Replay tool object as POD
By type casting the pointer to an AllocatorTableEntry to be 'void*', this will circumvent the typecheck being done by gcc 8 or higher to determine whether the object is a POD or not. (see: dotnet/runtime#12684) Prior to this change, this warning would be triggered in GCC 10.2.1: error: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type` It is unclear why gcc is considering this POD to be non-trivial.
- Loading branch information