<commit_before>idf_component_register(SRCS "esp_spiffs.c"
                            "spiffs_api.c"
                            "spiffs/src/spiffs_cache.c"
                            "spiffs/src/spiffs_check.c"
                            "spiffs/src/spiffs_gc.c"
                            "spiffs/src/spiffs_hydrogen.c"
                            "spiffs/src/spiffs_nucleus.c"
                    INCLUDE_DIRS "include"
                    PRIV_INCLUDE_DIRS "." "spiffs/src"
                    REQUIRES spi_flash
                    PRIV_REQUIRES bootloader_support esptool_py)

set_source_files_properties(spiffs/src/spiffs_nucleus.c PROPERTIES COMPILE_FLAGS -Wno-stringop-truncation)
<commit_msg>spiffs: only add GCC-specific flags when building with GCC<commit_after>idf_component_register(SRCS "esp_spiffs.c"
                            "spiffs_api.c"
                            "spiffs/src/spiffs_cache.c"
                            "spiffs/src/spiffs_check.c"
                            "spiffs/src/spiffs_gc.c"
                            "spiffs/src/spiffs_hydrogen.c"
                            "spiffs/src/spiffs_nucleus.c"
                    INCLUDE_DIRS "include"
                    PRIV_INCLUDE_DIRS "." "spiffs/src"
                    REQUIRES spi_flash
                    PRIV_REQUIRES bootloader_support esptool_py)

if(CMAKE_C_COMPILER_ID MATCHES "GNU")
    set_source_files_properties(spiffs/src/spiffs_nucleus.c PROPERTIES COMPILE_FLAGS -Wno-stringop-truncation)
endif()

{'fraction_non_alphanumeric': 0.07441860465116279, 'fraction_numerical': 0.0, 'mean_word_length': 1.4688524590163934, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '341531', 'n_tokens_mistral': 492, 'n_tokens_neox': 459, 'n_words': 54}