Skip to content

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