Skip to content

Conversation

tjeyy
Copy link
Member

@tjeyy tjeyy commented Aug 10, 2025

-Wnewline-eof is only available in Clang, so missing linebreaks at the end of files are not noticed here.
But only because of the SQLParser is this warning manually disabled in Hyrise.
Let's change this.

@Bouncner
Copy link
Collaborator

Can we add the check to the CI to ensure you got all newlines?

@tjeyy
Copy link
Member Author

tjeyy commented Aug 10, 2025

Done.

else
LIB_CFLAGS += -Wall -Werror
ifneq (,$(findstring clang,$(shell $(CXX) --version 2>/dev/null)))
LIB_CFLAGS += -Wnewline-eof
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the check is not part of Wall, yes?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No.
If it was, the CI would have failed earlier.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment that we explicitly add this check for Hyrise?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course!

@Bouncner
Copy link
Collaborator

@dey4ss : anything to add from your side?

@tjeyy
Copy link
Member Author

tjeyy commented Sep 5, 2025

lgtm?

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