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

Updated code to compile with actual flex and gcc #1

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

cschlote
Copy link

@cschlote cschlote commented May 9, 2017

I had to investigate SSE channels and tested this code. To get it compiling, I fixed up some things.

Carsten Schlote and others added 7 commits May 9, 2017 08:14
The flex function 'input' was reported unused and -Werror therefore
terminated this as error,

Signed-off-by: Carsten Schlote <[email protected]>
By defining YY_NO_INPUT the unused input function is no longer created.
-Werror is now reenabled for dev builds again.

Signed-off-by: Carsten Schlote <[email protected]>
Added code to check for a valid return value of asprintf(). Now the
logger is only called, when asprintf() completed successfully.
This also silences a warning about unused return values.

Signed-off-by: Carsten Schlote <[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.

1 participant