• Home
  • Raw
  • Download

Lines Matching +full:stringop +full:- +full:overflow

22 option(FLATBUFFERS_STATIC_FLATC "Build flatbuffers compiler with -static flag"
34 "Add '-fsanitize' flags to 'flattests' and 'flatc' targets."
47 "Run C++ code generator with '--cpp-std c++0x' switch."
55 "Skip generating monster_extra.fbs that contains non-supported numerical\"
58 "Build flatbuffers with all warnings as errors (-Werror or /WX)."
79 …set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "time -f 'Wall: %E User: %U Sys: %S | %C' -q -a -
80 …set_property(GLOBAL PROPERTY RULE_LAUNCH_CUSTOM "time -f 'Wall: %E User: %U Sys: %S | %C' -q -a -o…
81 …set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK "time -f 'Wall: %E User: %U Sys: %S | %C' -q -a -o $…
92 add_definitions(-DFLATBUFFERS_MAX_PARSING_DEPTH=${FLATBUFFERS_MAX_PARSING_DEPTH})
96 # Auto-detect locale-narrow 'strtod_l' and 'strtoull_l' functions.
112 add_definitions(-DFLATBUFFERS_LOCALE_INDEPENDENT=$<BOOL:${FLATBUFFERS_LOCALE_INDEPENDENT}>)
117 add_definitions(-DFLATBUFFERS_NO_ABSOLUTE_PATH_RESOLUTION)
280 # https://stackoverflow.com/questions/71772330/override-target-compile-options-via-cmake-command-li…
298 # override default by user-defined sanitizer list
302 -g -fsigned-char -fno-omit-frame-pointer
303 "-fsanitize${_sanitizer_flags}")
305 "-fsanitize${_sanitizer_flags}")
339 # We shouldn't rely on any compiler-extensions to make things work.
359 -Wall
361 -Werror # Treat all compiler warnings as errors
363 -fno-rtti # Disable runtime type information
366 # False positive string overflow
368 -Wno-error=stringop-overflow
371 -pedantic
372 -Wextra
373 -Wno-unused-parameter
374 -Wold-style-cast
375 -fsigned-char
376 -Wnon-virtual-dtor
380 -Wnewline-eof
381 -Wno-unknown-warning-option
382 -Wmissing-declarations
383 -Wzero-as-null-pointer-constant
385 -Wimplicit-fallthrough
386 -Wextra-semi
388 -Werror=unused-private-field
395 -Wunused-result
396 -Wunused-parameter
397 -Werror=unused-parameter
398 -Wmissing-declarations
401 -Wzero-as-null-pointer-constant
404 -faligned-new
406 -Werror=implicit-fallthrough=2
410 -Wextra-semi
415 -g
416 -fprofile-arcs
417 -ftest-coverage
424 -fprofile-arcs
425 -ftest-coverage
466 target_link_libraries(flatc PRIVATE -static)
478 # FlatBuffers use calendar-based versioning and do not provide any ABI
498 -o "${SRC_FBS_DIR}"
501 COMMENT "flatc generation: `${SRC_FBS}` -> `${GEN_HEADER}`"
530 add_definitions(-DFLATBUFFERS_TEST_PATH_PREFIX=${CMAKE_CURRENT_SOURCE_DIR}/)
533 SET(FLATC_OPT --cpp --gen-mutable --gen-object-api --reflect-names)
534 SET(FLATC_OPT_COMP ${FLATC_OPT};--gen-compare)
535 SET(FLATC_OPT_SCOPED_ENUMS ${FLATC_OPT_COMP};--scoped-enums)
542 compile_schema_for_test(tests/64bit/test_64bit.fbs "${FLATC_OPT_COMP};--bfbs-gen-embed")
618 configure_file(CMake/flatbuffers-config-version.cmake.in flatbuffers-config-version.cmake @ONLY)
621 "CMake/flatbuffers-config.cmake"
623 "${CMAKE_CURRENT_BINARY_DIR}/flatbuffers-config-version.cmake"