diff --git a/examples/mandelbrot.cpp b/examples/mandelbrot.cpp index 02f5f6b16..323ae2702 100644 --- a/examples/mandelbrot.cpp +++ b/examples/mandelbrot.cpp @@ -274,8 +274,7 @@ struct run_archlist> int maxIters, std::vector>& buffer) { - using expand_type = int[]; - expand_type { (run_arch(bencher, x0, y0, x1, x1, width, height, maxIters, buffer), 0)... }; + (void)std::initializer_list { (run_arch(bencher, x0, y0, x1, x1, width, height, maxIters, buffer), 0)... }; } }; diff --git a/test/doc/explicit_use_of_an_instruction_set.cpp b/test/doc/explicit_use_of_an_instruction_set.cpp index 62c1b763d..ab3d0e7e7 100644 --- a/test/doc/explicit_use_of_an_instruction_set.cpp +++ b/test/doc/explicit_use_of_an_instruction_set.cpp @@ -3,7 +3,7 @@ namespace xs = xsimd; -int main(int argc, char* argv[]) +int main(int, char*[]) { xs::batch a = { 1.5, 2.5, 3.5, 4.5 }; xs::batch b = { 2.5, 3.5, 4.5, 5.5 };