Skip to content
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

record.c relies on schema.c, change build order #221

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fvalasiad
Copy link
Collaborator

No description provided.

@fvalasiad fvalasiad requested a review from zvr August 25, 2024 20:48
@zvr
Copy link
Collaborator

zvr commented Dec 10, 2024

If it really depends, why not record this dependency explicitly, rather than rely on a list of files?

Why does record.c depend on schema.c ?

@fvalasiad
Copy link
Collaborator Author

fvalasiad commented Dec 10, 2024

record.c depends on schema.c because record.c dumps the schema in the output file.

This modifies the linker object inputs order, fixing the linking issue regarding extern schema and schema_len uses in record.c

And yes, valid point listing it as a dependency, updated the PR.

record.c dumps the schema to the output file, thus the dependency.

Signed-off-by: Fotios Valasiadis <[email protected]>
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