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

Avoid empty translation unit #984

Closed
wants to merge 1 commit into from
Closed

Avoid empty translation unit #984

wants to merge 1 commit into from

Conversation

botovq
Copy link
Contributor

@botovq botovq commented Dec 26, 2023

No description provided.

@botovq
Copy link
Contributor Author

botovq commented Dec 27, 2023

Ok, this hack didn't work. A comment isn't enough to count. We could probably use a typedef, but, really, there must be a way to convince cmake to do this without such gross workarounds.

@botovq botovq closed this Dec 27, 2023
@busterb
Copy link
Contributor

busterb commented Dec 27, 2023

Maybe there's a better fix overall for #776 ?

@botovq
Copy link
Contributor Author

botovq commented Dec 27, 2023

Yes, it's related, but to be honest, I was just playing around a bit since I was bored...

I think we might be able to build a list of compat source files and only create the compat libraries if that list is non-empty.

But that's for next year.

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.

2 participants