Skip to content

C++-backend: use a comparer when sorting in IncludeResolver (beta-3.0) #461

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

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

mortend
Copy link
Member

@mortend mortend commented Apr 3, 2023

Use DeclarationComparer to sort declarations before being emitted into source files to make sure preprocessor directives (lines starting with '#') come out first.

This solves a problem where ManualTestingApp in Fuselibs fails to build for Android since our last beta release, because some declarations come out before includes. This might have regressed with changes in #456.

Use DeclarationComparer to sort declarations before being emitted into
source files to make sure preprocessor directives (lines starting with
'#') come out first.

This solves a problem where ManualTestingApp in Fuselibs fails to build
for Android since our last beta release, because some declarations come
out before includes. This might have regressed with changes in fuse-open#456.
@mortend mortend merged commit e53a5de into fuse-open:beta-3.0 Apr 4, 2023
@mortend mortend deleted the cpp-comparer branch April 4, 2023 15:31
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.

1 participant