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

fix: Fix linker error on Linux #356

Merged
merged 1 commit into from
May 27, 2022
Merged

Conversation

afnanenayet
Copy link
Owner

Compile parsers before we compile potential scanners to avoid a linker
error. We can hack this by simply compiling the C sources before C++
sources since the C++ sources are only ever scanners (so far).

This was tested on locally on a Debian VM.

Fixes #355.

Compile parsers before we compile potential scanners to avoid a linker
error. We can hack this by simply compiling the C sources before C++
sources since the C++ sources are only ever scanners (so far).

This was tested on locally on a Debian VM.

Fixes #355.
@afnanenayet afnanenayet merged commit 4dda110 into main May 27, 2022
@afnanenayet afnanenayet deleted the afnan/fix-linker-error-linux branch May 27, 2022 02:07
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.

[BUG] difffsitter compilation fails on Ubuntu/Debian for grammars with C++ sources
1 participant