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

Add newline at the end of source files #18

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

Add newline at the end of source files #18

wants to merge 1 commit into from

Conversation

guillaumealgis
Copy link
Contributor

This silences warnings when the -Wnewline-eof compiler flag is enabled.

GCC_WARN_ABOUT_MISSING_NEWLINE
Warn when a source file does not end with a newline. [GCC_WARN_ABOUT_MISSING_NEWLINE, -Wnewline-eof]

IIRC this flag was introduced to be compatible with poorly designed compilers which would struggle to parse files not ending with a newline.

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