question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[bug] the wrong command line argument `-stdlib=libstdc++`

See original GitHub issue

There is the wrong command line argument -stdlib=libstdc++.

clang++: warning: argument unused during compilation: '-stdlib=libstdc++' [-Wunused-command-line-argument]

Environment Details (include every applicable attribute)

  • Windows Server 2019
  • Visual Studio 16 ClangCl or Clang 13
  • Conan version: 1.41.0
  • Python version: 3.9.6

Steps to reproduce (Include if Applicable)

conan install . --install-folder build --build=outdated -s build_type=Debug -s compiler.cppstd=17 -s compiler.version=16 -s compiler="Visual Studio" -s compiler.toolset=ClangCL -e CC=clang-cl -e CXX=clang-cl

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:21 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
arttetcommented, Aug 19, 2021

Case 1 was fixed here.

1reaction
arttetcommented, Aug 18, 2021

I would like to say your branch compiles nothing. Therefore, it works well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

g++: error: unrecognized command line option '-stdlib=libstdc++'
Hi I'm running a makefile that has the line. ADDLIBS = -stdlib=libstdc++ -L ...
Read more >
"gcc: error: unrecognized command line option '-stdlib=libc++ ...
I believe it has something to do with the addition of this compiler flag in setup.py , but I'm a bit too unfamiliar...
Read more >
unrecognized command line option '-stdlib=libstdc++' with ...
Weird that the error message talks about g++ not understanding -stdlib=libstdc++ , when the log clearly shows that g++ isn't being used; clang++-mp-3.4...
Read more >
Getting error "Please check the file and folder names for the /lo ...
Getting error "Please check the file and folder names for the /lo command line argument" or "Activation failed".
Read more >
LO48220: ERROR "ERROR PROCESSING COMMAND LINE ...
LO48220: ERROR "ERROR PROCESSING COMMAND LINE ARGUMENTS" WHEN SEND MAIL L INK FROM INTERNET EXPLORER ONLY THE FIRST TIME. · APAR status. Closed...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found