Skip to content

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

Merged
mortend merged 1 commit into
fuse-open:beta-3.0from
mortend:cpp-comparer
Apr 4, 2023
Merged

mortend merged 1 commit into
fuse-open:beta-3.0from
mortend:cpp-comparer

Conversation

@mortend

@mortend mortend commented Apr 3, 2023

Copy link
Copy Markdown
Member

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