Skip to content

Use internal linkage for data.cpp files#239

Merged
thiagomacieira merged 1 commit intointel:mainfrom
laminowany:internal_linkage
Aug 14, 2023
Merged

Use internal linkage for data.cpp files#239
thiagomacieira merged 1 commit intointel:mainfrom
laminowany:internal_linkage

Conversation

@laminowany
Copy link
Contributor

The Qt uses test batching and potentially encoder/data.cpp and parser/data.cpp can end up in the same translation unit. This can be problematic as they declare symbols with the same names.
Change both files to use internal linkage in order to avoid symbols clashing.

The Qt uses test batching and potentially encoder/data.cpp
and parser/data.cpp can end up in the same translation unit.
This can be problematic as they declare symbols with the
same names.
Change both files to use internal linkage in order to avoid
symbols clashing.
@thiagomacieira thiagomacieira merged commit 04b306c into intel:main Aug 14, 2023
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