Missing include
MODIFY
thrust/detail/config/config.h
thrust/detail/config/config.h
#include <thrust/detail/config/simple_defines.h>
#include <thrust/detail/config/compiler.h>
+#include <thrust/detail/config/cpp_dialect.h>
// host_system.h & device_system.h must be #included as early as possible
// because other config headers depend on it
#include <thrust/detail/config/host_system.h>
#include <thrust/detail/config/forceinline.h>
#include <thrust/detail/config/exec_check_disable.h>
#include <thrust/detail/config/global_workarounds.h>
-

Missing include