Disable RTTI and rework use in idl_gen_ts.cpp (#7474)

This commit is contained in:
Derek Bailey
2022-08-24 10:36:11 -07:00
committed by GitHub
parent 8d01c5859c
commit b7eb441470
2 changed files with 12 additions and 3 deletions

View File

@@ -369,6 +369,8 @@ else()
$<$<BOOL:${FLATBUFFERS_STRICT_MODE}>:
-Werror # Treat all compiler warnings as errors
-fno-rtti # Disable runtime type information
$<$<CXX_COMPILER_ID:GNU>:
# False positive string overflow
# https://github.com/google/flatbuffers/issues/7366