Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Clang 13 #9502

Merged
merged 1 commit into from Aug 30, 2021
Merged

Add Clang 13 #9502

merged 1 commit into from Aug 30, 2021

Conversation

uilianries
Copy link
Member

@uilianries uilianries commented Aug 30, 2021

Nothing changed between Clang 12 and 13 so far.

The documentation still shows C++17 as default version: https://clang.llvm.org/docs/UsersManual.html#c-language-features

There is no Clang 13 page, because is still in development.

Changelog: Feature: Add Clang 13 support.
Docs: conan-io/docs#2204
closes #9465

/cc @SSE4 @memsharded

  • Refer to the issue that supports this Pull Request.
  • If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.
  • I've read the Contributing guide.
  • I've followed the PEP8 style guides for Python code.
  • I've opened another PR in the Conan docs repo to the develop branch, documenting this one.

Note: By default this PR will skip the slower tests and will use a limited set of python versions. Check here how to increase the testing level by writing some tags in the current PR body text.

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@SSE4
Copy link
Contributor

SSE4 commented Aug 30, 2021

may you run (perhaps, in docker) the command clang -dM -E -x c++ /dev/null | grep -i __cplusplus just to be sure?

@uilianries
Copy link
Member Author

Should we consider a warning message when using pre-stable versions? It sounds interesting, but unfortunately we could update only on next release, which could be very late after Clang 13 official release. I mean, Docs is cool, but not all people read Docs.

@SSE4
Copy link
Contributor

SSE4 commented Aug 30, 2021

Should we consider a warning message when using pre-stable versions? It sounds interesting, but unfortunately we could update only on next release, which could be very late after Clang 13 official release. I mean, Docs is cool, but not all people read Docs.

I personally don't think we should.
all these warnings are noisy and may break some CI scripts.
let's not add them, unless really necessary.

@uilianries
Copy link
Member Author

uilianries commented Aug 30, 2021

clang -dM -E -x c++ /dev/null | grep -i __cplusplus

@SSE4

# clang --version
Debian clang version 13.0.0-++20210611071718+643b6407faf4-1~exp1~20210611052504.79
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
root@5b5cfc09b6f5:/# clang -dM -E -x c++ /dev/null | grep -i __cplusplus
#define __cplusplus 201402L

@memsharded memsharded added this to the 1.40 milestone Aug 30, 2021
@memsharded memsharded merged commit 0d34ff7 into conan-io:develop Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] LLVM/Clang 13 not supported
3 participants