I’m trying to compile the most recent preview version of Slicer on Windows 10. In debug mode, the LibArchive project is failing with the errors below. Does anyone have an idea what might cause this? Release mode is building without these errors.
Error C4061 enumerator 'WT_NONE' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 344
Error C4061 enumerator 'WT_INFO' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 344
Error C4061 enumerator 'WT_META' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 344
Error C4061 enumerator 'WT_REQ' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 344
Error C4061 enumerator 'WT_RVIS' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 344
Error C4061 enumerator 'WT_CONV' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 344
Error C4061 enumerator 'WT_CONT' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 344
Error C4061 enumerator 'LAST_WT' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 344
Error C4061 enumerator 'WT_NONE' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 368
Error C4061 enumerator 'WT_INFO' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 368
Error C4061 enumerator 'WT_META' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 368
Error C4061 enumerator 'WT_REQ' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 368
Error C4061 enumerator 'WT_RVIS' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 368
Error C4061 enumerator 'WT_CONV' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 368
Error C4061 enumerator 'WT_CONT' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 368
Error C4061 enumerator 'LAST_WT' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 368
Error C4061 enumerator 'ENCRYPTION_NONE' in switch of enum 'encryption' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_write_set_format_zip.c 588
Error C4061 enumerator 'ENCRYPTION_NONE' in switch of enum 'encryption' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_write_set_format_zip.c 714
Error C4061 enumerator 'ENCRYPTION_NONE' in switch of enum 'encryption' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_write_set_format_zip.c 766
Error C4061 enumerator 'ENCRYPTION_NONE' in switch of enum 'encryption' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_write_set_format_zip.c 1033
Error C4061 enumerator 'COMPRESSION_UNSPECIFIED' in switch of enum 'compression' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_write_set_format_zip.c 1123
Error C4061 enumerator 'WT_NONE' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 344
Error C4061 enumerator 'WT_INFO' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 344
Error C4061 enumerator 'WT_META' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 344
Error C4061 enumerator 'WT_REQ' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 344
Error C4061 enumerator 'WT_RVIS' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 344
Error C4061 enumerator 'WT_CONV' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 344
Error C4061 enumerator 'WT_CONT' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 344
Error C4061 enumerator 'LAST_WT' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 344
Error C4061 enumerator 'WT_NONE' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 368
Error C4061 enumerator 'WT_INFO' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 368
Error C4061 enumerator 'WT_META' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 368
Error C4061 enumerator 'WT_REQ' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 368
Error C4061 enumerator 'WT_RVIS' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 368
Error C4061 enumerator 'WT_CONV' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 368
Error C4061 enumerator 'WT_CONT' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 368
Error C4061 enumerator 'LAST_WT' in switch of enum 'warc_type_t' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_read_support_format_warc.c 368
Error C4061 enumerator 'ENCRYPTION_NONE' in switch of enum 'encryption' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_write_set_format_zip.c 588
Error C4061 enumerator 'ENCRYPTION_NONE' in switch of enum 'encryption' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_write_set_format_zip.c 714
Error C4061 enumerator 'ENCRYPTION_NONE' in switch of enum 'encryption' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_write_set_format_zip.c 766
Error C4061 enumerator 'ENCRYPTION_NONE' in switch of enum 'encryption' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_write_set_format_zip.c 1033
Error C4061 enumerator 'COMPRESSION_UNSPECIFIED' in switch of enum 'compression' is not explicitly handled by a case label [C:\Slicer_LMU\LibArchive-build\libarchive\archive_static.vcxproj] LibArchive C:\Slicer_LMU\LibArchive\libarchive\archive_write_set_format_zip.c 1123