mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-01 22:33:57 +00:00
[C++] Fix clang -Wnewline-eof warning (#7711)
* Fix clang -Wnewline-eof warning * Enable -Wnewline-eof warning Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
@@ -426,6 +426,7 @@ else()
|
||||
|
||||
# This isn't working for some reason: $<$<CXX_COMPILER_ID:CLANG>:
|
||||
$<$<BOOL:${IS_CLANG}>:
|
||||
-Wnewline-eof
|
||||
-Wno-unknown-warning-option
|
||||
-Wmissing-declarations
|
||||
-Wzero-as-null-pointer-constant
|
||||
|
||||
Reference in New Issue
Block a user