From d3a66af7d6dfb53c700ee9ea67c9913f74b48aaf Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Fri, 8 Jan 2021 22:30:24 +0300 Subject: [PATCH] Enable -Wcomment warning --- rpcs3/cmake_modules/ConfigureCompiler.cmake | 1 - rpcs3/rpcs3qt/settings_dialog.cpp | 20 ++++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/rpcs3/cmake_modules/ConfigureCompiler.cmake b/rpcs3/cmake_modules/ConfigureCompiler.cmake index 9f27e7f1a9..e3c6366eed 100644 --- a/rpcs3/cmake_modules/ConfigureCompiler.cmake +++ b/rpcs3/cmake_modules/ConfigureCompiler.cmake @@ -38,7 +38,6 @@ else() add_compile_options(-Wno-invalid-offsetof) add_compile_options(-Wno-unused-function) add_compile_options(-Wno-attributes) - add_compile_options(-Wno-comment) if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") add_compile_options(-fconstexpr-steps=16777216) diff --git a/rpcs3/rpcs3qt/settings_dialog.cpp b/rpcs3/rpcs3qt/settings_dialog.cpp index ee4799e02f..7067214000 100644 --- a/rpcs3/rpcs3qt/settings_dialog.cpp +++ b/rpcs3/rpcs3qt/settings_dialog.cpp @@ -185,7 +185,7 @@ settings_dialog::settings_dialog(std::shared_ptr gui_settings, std // _____ _____ _ _ _______ _ // / ____| __ \| | | | |__ __| | | // | | | |__) | | | | | | __ _| |__ - // | | | ___/| | | | | |/ _` | '_ \ + // | | | ___/| | | | | |/ _` | '_ \ // | |____| | | |__| | | | (_| | |_) | // \_____|_| \____/ |_|\__,_|_.__/ @@ -298,7 +298,7 @@ settings_dialog::settings_dialog(std::shared_ptr gui_settings, std // _____ _____ _ _ _______ _ // / ____| __ \| | | | |__ __| | | // | | __| |__) | | | | | | __ _| |__ - // | | |_ | ___/| | | | | |/ _` | '_ \ + // | | |_ | ___/| | | | | |/ _` | '_ \ // | |__| | | | |__| | | | (_| | |_) | // \_____|_| \____/ |_|\__,_|_.__/ @@ -652,7 +652,7 @@ settings_dialog::settings_dialog(std::shared_ptr gui_settings, std // _ _ _______ _ // /\ | (_) |__ __| | | // / \ _ _ __| |_ ___ | | __ _| |__ - // / /\ \| | | |/ _` | |/ _ \ | |/ _` | '_ \ + // / /\ \| | | |/ _` | |/ _ \ | |/ _` | '_ \ // / ____ \ |_| | (_| | | (_) | | | (_| | |_) | // /_/ \_\__,_|\__,_|_|\___/ |_|\__,_|_.__/ @@ -829,7 +829,7 @@ settings_dialog::settings_dialog(std::shared_ptr gui_settings, std // _____ __ ____ _______ _ // |_ _| / / / __ \ |__ __| | | // | | / / | | | | | | __ _| |__ - // | | / / | | | | | |/ _` | '_ \ + // | | / / | | | | | |/ _` | '_ \ // _| |_ / / | |__| | | | (_| | |_) | // |_____| /_/ \____/ |_|\__,_|_.__/ @@ -853,7 +853,7 @@ settings_dialog::settings_dialog(std::shared_ptr gui_settings, std // _____ _ _______ _ // / ____| | | |__ __| | | // | (___ _ _ ___| |_ ___ _ __ ___ | | __ _| |__ - // \___ \| | | / __| __/ _ \ '_ ` _ \ | |/ _` | '_ \ + // \___ \| | | / __| __/ _ \ '_ ` _ \ | |/ _` | '_ \ // ____) | |_| \__ \ || __/ | | | | | | | (_| | |_) | // |_____/ \__, |___/\__\___|_| |_| |_| |_|\__,_|_.__/ // __/ | @@ -905,7 +905,7 @@ settings_dialog::settings_dialog(std::shared_ptr gui_settings, std // _ _ _ _ _______ _ // | \ | | | | | | |__ __| | | // | \| | ___| |___ _____ _ __| | __ | | __ _| |__ - // | . ` |/ _ \ __\ \ /\ / / _ \| '__| |/ / | |/ _` | '_ \ + // | . ` |/ _ \ __\ \ /\ / / _ \| '__| |/ / | |/ _` | '_ \ // | |\ | __/ |_ \ V V / (_) | | | < | | (_| | |_) | // |_| \_|\___|\__| \_/\_/ \___/|_| |_|\_\ |_|\__,_|_.__/ @@ -934,7 +934,7 @@ settings_dialog::settings_dialog(std::shared_ptr gui_settings, std // _ _ _______ _ // /\ | | | | |__ __| | | // / \ __| |_ ____ _ _ __ ___ ___ __| | | | __ _| |__ - // / /\ \ / _` \ \ / / _` | '_ \ / __/ _ \/ _` | | |/ _` | '_ \ + // / /\ \ / _` \ \ / / _` | '_ \ / __/ _ \/ _` | | |/ _` | '_ \ // / ____ \ (_| |\ V / (_| | | | | (_| __/ (_| | | | (_| | |_) | // /_/ \_\__,_| \_/ \__,_|_| |_|\___\___|\__,_| |_|\__,_|_.__/ @@ -1139,7 +1139,7 @@ settings_dialog::settings_dialog(std::shared_ptr gui_settings, std // ______ _ _ _______ _ // | ____| | | | | |__ __| | | // | |__ _ __ ___ _ _| | __ _| |_ ___ _ __ | | __ _| |__ - // | __| | '_ ` _ \| | | | |/ _` | __/ _ \| '__| | |/ _` | '_ \ + // | __| | '_ ` _ \| | | | |/ _` | __/ _ \| '__| | |/ _` | '_ \ // | |____| | | | | | |_| | | (_| | || (_) | | | | (_| | |_) | // |______|_| |_| |_|\__,_|_|\__,_|\__\___/|_| |_|\__,_|_.__/ @@ -1446,7 +1446,7 @@ settings_dialog::settings_dialog(std::shared_ptr gui_settings, std // _____ _ _ _ _______ _ // / ____|| | | || | |__ __| | | // | | __|| | | || | | | __ _| |__ - // | | |_ || | | || | | |/ _` | '_ \ + // | | |_ || | | || | | |/ _` | '_ \ // | |__| || |__| || | | | (_| | |_) | // \_____| \____/ |_| |_|\__,_|_.__/ @@ -1687,7 +1687,7 @@ settings_dialog::settings_dialog(std::shared_ptr gui_settings, std // _____ _ _______ _ // | __ \ | | |__ __| | | // | | | | ___| |__ _ _ __ _ | | __ _| |__ - // | | | |/ _ \ '_ \| | | |/ _` | | |/ _` | '_ \ + // | | | |/ _ \ '_ \| | | |/ _` | | |/ _` | '_ \ // | |__| | __/ |_) | |_| | (_| | | | (_| | |_) | // |_____/ \___|_.__/ \__,_|\__, | |_|\__,_|_.__/ // __/ |