summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/intel-ethernet/ixgbevf
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2022-05-19 16:04:43 (GMT)
committerAnuj Mittal <anuj.mittal@intel.com>2022-05-19 16:25:29 (GMT)
commitebb8c1c26e57e78563760431a57b6da388b82be2 (patch)
treea3d6b993bd86b969a410760aa8ba426877512e9f /recipes-kernel/intel-ethernet/ixgbevf
parent8dd900317013acbe3b87e40fd3e47b25abdcb0f2 (diff)
downloadmeta-intel-master.tar.gz
intel-compute-runtime: fix failures with gcc12HEADmaster
Backport patch to fix build failures like: | recipe-sysroot/usr/include/c++/12.1.0/bits/unique_ptr.h:95:9: error: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete] | 95 | delete __ptr; | | ^~~~~~~~~~~~ | git/shared/source/os_interface/windows/wddm/adapter_info.cpp: In function 'std::wstring NEO::queryAdapterDriverStorePath(const Gdi&, D3DKMT_HANDLE)': | git/shared/source/os_interface/windows/wddm/adapter_info.cpp:31:117: note: returned from 'void* operator new [](std::size_t)' | 31 | std::unique_ptr<uint64_t> storage{new uint64_t[(privateDataSizeNeeded + sizeof(uint64_t) - 1) / sizeof(uint64_t)]}; | | ^ | In member function 'void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = long unsigned int]', | inlined from 'std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = long unsigned int; _Dp = std::default_delete<long unsigned int>]' at recipe-sysroot/usr/include/c++/12.1.0/bits/unique_ptr.h:396:17, | inlined from 'std::wstring NEO::queryAdapterDriverStorePath(const Gdi&, D3DKMT_HANDLE)' at git/shared/source/os_interface/windows/wddm/adapter_info.cpp:46:1: | recipe-sysroot/usr/include/c++/12.1.0/bits/unique_ptr.h:95:9: error: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete] | 95 | delete __ptr; | | ^~~~~~~~~~~~ | git/shared/source/os_interface/windows/wddm/adapter_info.cpp: In function 'std::wstring NEO::queryAdapterDriverStorePath(const Gdi&, D3DKMT_HANDLE)': | git/shared/source/os_interface/windows/wddm/adapter_info.cpp:31:117: note: returned from 'void* operator new [](std::size_t)' | 31 | std::unique_ptr<uint64_t> storage{new uint64_t[(privateDataSizeNeeded + sizeof(uint64_t) - 1) / sizeof(uint64_t)]}; | | ^ Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-kernel/intel-ethernet/ixgbevf')
0 files changed, 0 insertions, 0 deletions