Skip to content

chore(core): Ignore C++ symbols#10386

Merged
mcdurdin merged 1 commit intomasterfrom
chore/core/IgnoreC++Symbols
Jan 15, 2024
Merged

chore(core): Ignore C++ symbols#10386
mcdurdin merged 1 commit intomasterfrom
chore/core/IgnoreC++Symbols

Conversation

@ermshiperete
Copy link
Copy Markdown
Contributor

@ermshiperete ermshiperete commented Jan 15, 2024

We have a C API, but (internal) C++ template instantiations are visible and so get flagged by dpkg-gensymbols. This change ignores the one use of C++ by marking it optional. This is listed as a usage scenario in the dpkg-gensymbols man page.

Note this requires a change how we call dpkg-gensymbols: if the -O parameter is specified, the file is not treated as being a template file (see man deb-src-symbols) and so the tags are not interpreted. Additionally the file gets overwritten with the non-tag version. So this change removes the -O parameter, and changes the archiving of the generated file.

@keymanapp-test-bot skip

@keymanapp-test-bot
Copy link
Copy Markdown

keymanapp-test-bot bot commented Jan 15, 2024

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

@keymanapp-test-bot keymanapp-test-bot bot added this to the A17S30 milestone Jan 15, 2024
We have a C API, but (internal) C++ template instantiations are visible
and so get flagged by `dpkg-gensymbols`. This change ignores the one
use of C++ by marking it optional. This is listed as a usage scenario
in the dpkg-gensymbols man page.

Note this requires a change how we call dpkg-gensymbols: if the `-O`
parameter is specified, the file is not treated as being a template file
(see man deb-src-symbols) and so the tags are not interpreted.
Additionally the file gets overwritten with the non-tag version. So this
change removes the `-O` parameter, and changes the archiving of the
generated file.
@ermshiperete ermshiperete force-pushed the chore/core/IgnoreC++Symbols branch from f21859f to 15d8796 Compare January 15, 2024 17:48
@github-actions github-actions bot added core/ Keyman Core and removed core/ Keyman Core labels Jan 15, 2024
@mcdurdin
Copy link
Copy Markdown
Member

Seems weird that we need to include our internal template instantiations but ok will go with it!

@mcdurdin mcdurdin merged commit a11fc7f into master Jan 15, 2024
@mcdurdin mcdurdin deleted the chore/core/IgnoreC++Symbols branch January 15, 2024 22:27
@keyman-server
Copy link
Copy Markdown
Collaborator

Changes in this pull request will be available for download in Keyman version 17.0.245-alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants