diff --git a/Editor/TextEditor.cpp b/Editor/TextEditor.cpp index 776c3db9..3b9e0697 100644 --- a/Editor/TextEditor.cpp +++ b/Editor/TextEditor.cpp @@ -3,7 +3,8 @@ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wreorder-ctor" #pragma clang diagnostic ignored "-Wsign-compare" -#pragma clang diagnostic ignored "-Wlogical-op-parantheses" +#pragma clang diagnostic ignored "-Wlogical-op-parentheses" +#pragma clang diagnostic ignored "-Wunused-but-set-variable" #endif #include diff --git a/Launcher/FileDialog.cpp b/Launcher/FileDialog.cpp index 5749c13b..63c9d981 100644 --- a/Launcher/FileDialog.cpp +++ b/Launcher/FileDialog.cpp @@ -1,7 +1,7 @@ // This is external code. Disabling warnings. #if defined(__clang__) #pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wunsequenced" // Disable -Wunsequenced, https://easings.net/#easeOutBounce +#pragma clang diagnostic ignored "-Wbitwise-instead-of-logical" // Disable -Wunsequenced, https://easings.net/#easeOutBounce #endif #include diff --git a/Launcher/GUI.cpp b/Launcher/GUI.cpp index dd67cffd..e8cc9aa5 100644 --- a/Launcher/GUI.cpp +++ b/Launcher/GUI.cpp @@ -538,7 +538,7 @@ bool GUI::IsProjectAlreadyOpen(const ProjectData& project) noexcept { std::this_thread::sleep_for(150ms); // wait for replies to be sent. std::vector openProjects{}; - for (int i = 0; i < maxRequestReplies; i++) { + for (size_t i = 0; i < maxRequestReplies; i++) { auto path = reply.Receive(ReceiveFlag::DontWait); if (path == "") { continue; }