Skip to content

clang setLangDefaults for clang >= 15#2164

Open
Willmac16 wants to merge 2 commits into
nasa:masterfrom
Willmac16:willmac16/clang-15-plus-lang-defaults
Open

clang setLangDefaults for clang >= 15#2164
Willmac16 wants to merge 2 commits into
nasa:masterfrom
Willmac16:willmac16/clang-15-plus-lang-defaults

Conversation

@Willmac16

Copy link
Copy Markdown

I currently working on porting a project using trick from ubuntu 20 (clang 9) -> ubuntu 26 (clang 21) and was running into an issue with //* comments that worked on the old setup, but failed on the new one.

I found the commented out clang 15+ branch and set it up to preserve the prior clang behavior under the new namespace.

@brendan-nasa

Copy link
Copy Markdown
Contributor

What version of trick are you porting to?

And is your issue similar to #2065 ?

@Willmac16

Copy link
Copy Markdown
Author

onto 25.1.0 so I believe I already have the PR #2077 that seemed to do the trick for that issue.

My interpretation is that we are not setting options that we otherwise would purely based on clang version.

@sharmeye

Copy link
Copy Markdown
Contributor

Thanks for bringing it up, we'll have to look into this.

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.

3 participants