Error on no return type warning

Added non-existing noreturn destructor to fmt::throw_exception (for clang).
This commit is contained in:
Nekotekina 2021-01-06 23:33:09 +03:00
parent 9ba8f4795c
commit 1dcf5e4f85
2 changed files with 3 additions and 2 deletions

View file

@ -30,8 +30,7 @@ else()
add_compile_options(-Werror=old-style-cast)
add_compile_options(-Werror=sign-compare)
add_compile_options(-Werror=reorder)
add_compile_options(-Wno-return-type)
add_compile_options(-Werror=return-type)
#TODO Clean the code so these are removed
add_compile_options(-Wno-unused-variable)