Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/test.cpp contains a couple of tests that are only executed (#7571)
on a subset of platforms. The test calls are guarded via #ifndef FLATBUFFERS_NO_FILE_TEST. Embedders of flatbuffers that rely on -Werror,-Wunused-function compiler flags (like chromium) complain about the exsitence of these tests in the anonymous namespace. This CL guards the test definitions as well (not just the test calls). Co-authored-by: Dominic Battre <battre@chromium.org> Co-authored-by: Derek Bailey <derekbailey@google.com>
- Loading branch information