In file included from /root/SimdIntroArticle/DotProduct/stdafx.h:2,
from /root/SimdIntroArticle/DotProduct/dpps.cpp:1:
/root/SimdIntroArticle/DotProduct/../common.h: In function ‘std::unique_ptr<T [], details::AlignedDeleter> alignedArray(size_t)’:
/root/SimdIntroArticle/DotProduct/../common.h:160:28: error: ‘invalid_argument’ is not a member of ‘std’
160 | throw std::invalid_argument( "alignedArray() function doesn't support zero-length arrays." );
| ^~~~~~~~~~~~~~~~
/root/SimdIntroArticle/DotProduct/../common.h:21:1: note: ‘std::invalid_argument’ is defined in header ‘<stdexcept>’; did you forget to ‘#include <stdexcept>’?
20 | #include <chrono>
+++ |+#include <stdexcept>
21 |
make[2]: *** [CMakeFiles/dotproduct.dir/build.make:76: CMakeFiles/dotproduct.dir/dpps.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/dotproduct.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
gcc version :
gcc version 13.2.0 (Debian 13.2.0-23)
g++ version :