diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index d5361499b..1da1ea042 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -65,7 +65,7 @@ target_compile_definitions(${OLIVE_TARGET} PRIVATE ${OLIVE_DEFINITIONS}) if(MSVC) target_compile_options(${OLIVE_TARGET} PRIVATE /W4 /WX) else() - target_compile_options(${OLIVE_TARGET} PRIVATE -Werror -Wuninitialized -pedantic-errors -Wall -Wextra -Wconversion -Wsign-conversion>) + target_compile_options(${OLIVE_TARGET} PRIVATE -Werror -Wuninitialized -pedantic-errors -Wall -Wextra -Wconversion -Wsign-conversion) endif() target_include_directories( diff --git a/app/project/item/footage/footage.cpp b/app/project/item/footage/footage.cpp index 5e0599be4..284d550e9 100644 --- a/app/project/item/footage/footage.cpp +++ b/app/project/item/footage/footage.cpp @@ -161,7 +161,7 @@ void Footage::UpdateIcon() break; } - [[clang::fallthrough]]; + /* fall through */ case kInvalid: set_icon(olive::icon::Error); break;