<commit_before># Copyright (C) 1995-2019, <NAME> and <NAME>.
# All rights reserved.
#
# For the licensing terms see $ROOTSYS/LICENSE.
# For the list of contributors see $ROOTSYS/README/CREDITS.

if(MSVC AND MSVC_VERSION GREATER_EQUAL 1923)
  # FIXME: using /O2 compiler flag prevent the following error when building in debug mode:
  # axis.obj : fatal error LNK1179: invalid or corrupt file: duplicate COMDAT
  # '??$?8DU?$char_traits@D@std@@@__ROOT@experimental@std@@YA_NV?$basic_string_view@DU?$char_traits@D@std@@@012@0@Z'
  # Try to remove those lines when upgrading Visual Studio
  string(REPLACE "-Od -Z7" "-O2" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
endif()

ROOT_ADD_UNITTEST_DIR(ROOTHist)<commit_msg>[skip-ci] Fix compilation error of constructors.cxx on Win64<commit_after># Copyright (C) 1995-2019, <NAME> and <NAME>.
# All rights reserved.
#
# For the licensing terms see $ROOTSYS/LICENSE.
# For the list of contributors see $ROOTSYS/README/CREDITS.

if(MSVC)
  if(MSVC_VERSION GREATER_EQUAL 1923)
    # FIXME: using /O2 compiler flag prevent the following error when building in debug mode:
    # axis.obj : fatal error LNK1179: invalid or corrupt file: duplicate COMDAT
    # '??$?8DU?$char_traits@D@std@@@__ROOT@experimental@std@@YA_NV?$basic_string_view@DU?$char_traits@D@std@@@012@0@Z'
    # Try to remove those lines when upgrading Visual Studio
    string(REPLACE "-Od -Z7" "-O2" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
  endif()
  if("${CMAKE_GENERATOR_PLATFORM}" MATCHES "x64")
    set_source_files_properties(constructors.cxx COMPILE_FLAGS "/bigobj")
  endif()
endif()

ROOT_ADD_UNITTEST_DIR(ROOTHist)
{'fraction_non_alphanumeric': 0.11854103343465046, 'fraction_numerical': 0.031610942249240125, 'mean_word_length': 5.663967611336032, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4368497', 'n_tokens_mistral': 629, 'n_tokens_neox': 566, 'n_words': 153}