From 5c7e7fb79362738917c08628ae812eb9bbd0db73 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Tue, 26 Mar 2024 12:56:50 +0800 Subject: [PATCH] clean up code --- RedPandaIDE/compiler/sdccprojectcompiler.cpp | 3 --- RedPandaIDE/settings.cpp | 2 -- 2 files changed, 5 deletions(-) diff --git a/RedPandaIDE/compiler/sdccprojectcompiler.cpp b/RedPandaIDE/compiler/sdccprojectcompiler.cpp index d18934a0..9aa3db7a 100644 --- a/RedPandaIDE/compiler/sdccprojectcompiler.cpp +++ b/RedPandaIDE/compiler/sdccprojectcompiler.cpp @@ -142,9 +142,6 @@ void SDCCProjectCompiler::writeMakeDefines(QFile &file) QString cc = extractFileName(compilerSet()->CCompiler()); QStringList cCompileArguments = getCCompileArguments(mOnlyCheckSyntax); - if (cCompileArguments.contains("-g3")) - cCompileArguments << "-D_DEBUG"; - QStringList libraryArguments = getLibraryArguments(FileType::Project); QStringList cIncludeArguments = getCIncludeArguments() + getProjectIncludeArguments(); diff --git a/RedPandaIDE/settings.cpp b/RedPandaIDE/settings.cpp index 0a03c8d1..f9e925bc 100644 --- a/RedPandaIDE/settings.cpp +++ b/RedPandaIDE/settings.cpp @@ -2526,8 +2526,6 @@ QStringList Settings::CompilerSet::defines(bool isCpp) { arguments.append("-D_DEBUG"); arguments.append(NULL_FILE); - qDebug()<