diff --git a/.decent_ci-Linux.yaml b/.decent_ci-Linux.yaml index 6f7125f..25cb343 100644 --- a/.decent_ci-Linux.yaml +++ b/.decent_ci-Linux.yaml @@ -15,7 +15,7 @@ compilers: cmake_extra_flags: -DUSE_LIBCXX:BOOL=OFF -DBUILD_SAMPLES:BOOL=ON -DBUILD_PACKAGE:BOOL=ON -DBUILD_TESTING:BOOL=ON -DENABLE_ADDRESS_SANITIZER:BOOL=ON - name: "clang" build_tag: ThreadSanitizer - version: "3.5" + version: "3.6" skip_packaging: true cmake_extra_flags: -DUSE_LIBCXX:BOOL=OFF -DBUILD_SAMPLES:BOOL=ON -DBUILD_PACKAGE:BOOL=ON -DBUILD_TESTING:BOOL=ON -DENABLE_THREAD_SANITIZER:BOOL=ON - name: "gcc" diff --git a/include/chaiscript/dispatchkit/proxy_functions_detail.hpp b/include/chaiscript/dispatchkit/proxy_functions_detail.hpp index 8257f9b..130d3c1 100644 --- a/include/chaiscript/dispatchkit/proxy_functions_detail.hpp +++ b/include/chaiscript/dispatchkit/proxy_functions_detail.hpp @@ -68,8 +68,6 @@ namespace chaiscript #ifdef CHAISCRIPT_GCC_4_6 /// \todo REMOVE THIS WHEN WE DROP G++4.6 - // - // // Forward declaration @@ -195,7 +193,8 @@ namespace chaiscript const std::vector ¶ms, const Type_Conversions &t_conversions) { try { - std::initializer_list{(boxed_cast(params[I], &t_conversions), nullptr)...}; + (void)params; (void)t_conversions; + (void)std::initializer_list{(boxed_cast(params[I], &t_conversions), 0)...}; return true; } catch (const exception::bad_boxed_cast &) { return false; @@ -216,6 +215,7 @@ namespace chaiscript Ret call_func(const chaiscript::dispatch::detail::Function_Signature &, Indexes, const Callable &f, const std::vector ¶ms, const Type_Conversions &t_conversions) { + (void)params; (void)t_conversions; return f(boxed_cast(params[I], &t_conversions)...); }