diff --git a/com-scrape/src/clang.rs b/com-scrape/src/clang.rs index 49c4d1582..c6d411b5f 100644 --- a/com-scrape/src/clang.rs +++ b/com-scrape/src/clang.rs @@ -42,7 +42,7 @@ impl TranslationUnit { unsafe { let index = clang_createIndex(0, 0); - let mut args = vec![c_str!("-x"), c_str!("c++")]; + let mut args = vec![c_str!("-x"), c_str!("c++"), c_str!("-std=c++11")]; for path in &paths_cstrs { args.extend_from_slice(&[c_str!("-I"), path.as_ptr()]); }