Fix the hotfix:

commit a62f12a8a3ca3a36fdac8b8b0414cb6a0bed01f1
Author: Salvage <29021710+Saalvage@users.noreply.github.com>
Date:   Wed Jan 12 02:08:14 2022 +0100

    Fix throwing

commit 5f40d27903048037752d78af92876bffd2f82dcb
Author: Salvage <29021710+Saalvage@users.noreply.github.com>
Date:   Wed Jan 12 01:51:17 2022 +0100

    Suppress more warnings

commit 6082269701220995688f2d57a54e0dd864f795fa
Author: Salvage <29021710+Saalvage@users.noreply.github.com>
Date:   Wed Jan 12 01:36:28 2022 +0100

    Suppress warnings

commit 8c3dc33998bba9a65bfc626002e35cc7ee64c948
Author: Salvage <29021710+Saalvage@users.noreply.github.com>
Date:   Wed Jan 12 01:18:54 2022 +0100

    Fix various errors
diff --git a/examples/all_features/CMakeLists.txt b/examples/all_features/CMakeLists.txt
index 128676c..683443c 100644
--- a/examples/all_features/CMakeLists.txt
+++ b/examples/all_features/CMakeLists.txt
@@ -106,6 +106,17 @@
 
 doctest_add_test_impl(NAME disabled_but_evaluated COMMAND $<TARGET_FILE:disabled_but_evaluated>)
 
+if(MSVC)
+    target_compile_options(disabled_but_evaluated PRIVATE /wd4702) # unreachable code
+endif()
+
+if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
+    target_compile_options(disabled_but_evaluated PRIVATE -Wno-global-constructors)
+    target_compile_options(disabled_but_evaluated PRIVATE -Wno-unused-variable)
+elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
+    target_compile_options(disabled_but_evaluated PRIVATE -Wno-unused-variable)
+endif()
+
 ################################################################################
 ## VARIATION OF THE BUILD WITH DOCTEST DISABLED - SHOULD STILL COMPILE
 ################################################################################