From 95eafb24328a5c2ebf9c8ffd85be00667f9e4e10 Mon Sep 17 00:00:00 2001 From: Mars Date: Fri, 27 Sep 2024 19:05:30 -0400 Subject: [PATCH] make sure this actually uses clang fully --- meson.build | 2 ++ src/main.cpp | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 86f4ebb..56b0b91 100644 --- a/meson.build +++ b/meson.build @@ -23,9 +23,11 @@ common_cpp_args = [ '-Wno-unsafe-buffer-usage', '-Wunused-function', '-fvisibility=hidden', + '-stdlib=libc++' ] add_project_arguments(cpp.get_supported_arguments(common_cpp_args), language: 'cpp') +add_project_arguments('-stdlib=libc++', language: 'cpp') source_file_names = [ 'src/main.cpp', diff --git a/src/main.cpp b/src/main.cpp index ebadf7e..e80bc71 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,5 +1,4 @@ #include -#include #include #include