Skip to content

i3167 - #3184

Merged
ehartford merged 2 commits into
mainfrom
i3167
Nov 9, 2026
Merged

i3167#3184
ehartford merged 2 commits into
mainfrom
i3167

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

Stack created with GitHub Stacks CLI • Give Feedback 💬

…by its bytes, then by its single name

ci_facade_import_spelling matched a source header only by the suffixes of
its path under the installed include dirs. cjson's source `cJSON.h`
installs as `include/cjson/cJSON.h`, so no suffix matched and all 78 of
its 79 functions were dropped as 'declared only by headers the package
does not install' (the #3116 survey); the same note hides relocations in
libcurl, libssh2 and libevent. When no suffix exists, the import dirs are
walked: the installed file of that name whose bytes are the source
header's is the spelling, else the single file of that name; two
different ones name nothing.

Fixture: test/internals/conan_facade_relocated_header_test.w (tiny.h
installed as include/tiny/tiny.h presents its function and imports
"tiny/tiny.h").
@ehartford
ehartford added this pull request to stack #3186 November 9, 2026 06:11
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