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

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

About this issue

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

Most upvoted comments

Case 1 was fixed here.

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