Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6547693
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:51:44+00:00 2026-05-25T11:51:44+00:00

clang++ version: 2.9 vim version: 7.3 I write my .clang_comple –std=c++0x with follow source

  • 0

clang++ version: 2.9
vim version: 7.3

I write my .clang_comple

--std=c++0x

with follow source code test.cc:

int main () {
    return 0;
}

And the clang_complete shows

test.cc|| unknown argument: '--std=c++0x'

in the quickfix list.

I try to add the option with

set g:clang_user_options="--std=c++0x"

the problem is still there.

Tried to trace some code of clang_complete, but still can not solve that problem. All other options can be processed correctly, but not --std=c++0x Do I miss anything? or made something wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:51:45+00:00Added an answer on May 25, 2026 at 11:51 am

    It isn’t --std=c++0x but -std=c++0x according to the docs. Try it but I have never used clang though.

    From docs :

    To use with clang you can:

    • clang++ -stdlib=libc++ test.cpp
    • clang++ -std=c++0x -stdlib=libc++ test.cpp
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use the std::shared_ptr in clang++(clang version 3.1 (trunk 143100)) using libstdc++(4.6.1).
I try to compile the following code with clang (version 3.0), but it gives
I'm using LLVM-clang on Linux. Suppose in foo.cpp I have: struct Foo { int
I ran into this error when building my code with CLANG: In file included
int bar = 2; if (bar) { int bar; } Neither gcc or Clang
I've downloaded and built clang version 3.0 in order to play around a bit
When I switch the Compiler Version to Clang llvm 1.0 in existing projects I
Does clang/llvm have support to produce test coverage files as was the case with
I'm using clang/llvm to programmatically compile and link bits of C source. I'm finding
The following C/C++ code results in an Unused Entity Issue with XCode 4 (Clang

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.