mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-10 15:16:28 +00:00
Fix CI builds (#8161)
* Update build.yml Upgrade to gcc 13 and clang 15 * switch to __is_trivially_copyable * fix cmake issue and warning about sign comparison * Use libc++ for C++23 on clang for now * Use libc++ for C++23 on clang for now * exclude clang+15 for C++13 builds
This commit is contained in:
@@ -86,7 +86,7 @@ void TriviallyCopyableTest() {
|
||||
// clang-format off
|
||||
#if __GNUG__ && __GNUC__ < 5 && \
|
||||
!(defined(__clang__) && __clang_major__ >= 16)
|
||||
TEST_EQ(__has_trivial_copy(Vec3), true);
|
||||
TEST_EQ(__is_trivially_copyable(Vec3), true);
|
||||
#else
|
||||
#if __cplusplus >= 201103L
|
||||
TEST_EQ(std::is_trivially_copyable<Vec3>::value, true);
|
||||
|
||||
Reference in New Issue
Block a user