mirror of
https://github.com/google/flatbuffers.git
synced 2025-04-08 09:12:14 +08:00
Without the change build fails on weekly `gcc-13` snapshots as: In file included from /build/flatbuffers/tests/reflection_test.cpp:1: tests/reflection_test.h:9:57: error: 'uint8_t' has not been declared 9 | void ReflectionTest(const std::string& tests_data_path, uint8_t *flatbuf, size_t length); | ^~~~~~~
18 lines
387 B
C++
18 lines
387 B
C++
#ifndef TESTS_REFLECTION_TEST_H
|
|
#define TESTS_REFLECTION_TEST_H
|
|
|
|
#include <stdint.h>
|
|
#include <string>
|
|
|
|
namespace flatbuffers {
|
|
namespace tests {
|
|
|
|
void ReflectionTest(const std::string& tests_data_path, uint8_t *flatbuf, size_t length);
|
|
void MiniReflectFixedLengthArrayTest();
|
|
void MiniReflectFlatBuffersTest(uint8_t *flatbuf);
|
|
|
|
} // namespace tests
|
|
} // namespace flatbuffers
|
|
|
|
#endif
|