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

Fixed warnings when using -Wall -Wextra -Wpedantic -std=c11 #173

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

Fixed warnings when using -Wall -Wextra -Wpedantic -std=c11 #173

wants to merge 1 commit into from

Conversation

emvigo
Copy link

@emvigo emvigo commented Sep 24, 2019

Hi!
Using this patch, the source and the example become fully compliant under -std=c11, yielding zero warnings when using -Wall -Wextra -Wpedantic, which is a requirement for a project I'm working on I may use linenoise for.
Looking forward to your review!
Eugenio

apainintheneck added a commit to apainintheneck/crystal-linenoise that referenced this pull request Feb 4, 2024
Essentially what I've done here is pull a patch from Github user @emvigo related
to building linenoise using C11 without errors on Linux. The hope is that this
might fix the history test errors I'm seeing on CI right now.

- antirez/linenoise#173
- https://github.com/emvigo
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