From fbef3b4f29039ac7ed7cc3dd2ee850b788d17aae Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Mon, 14 Aug 2023 19:56:56 +0800 Subject: [PATCH] minor change --- RedPandaIDE/settings.cpp | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/RedPandaIDE/settings.cpp b/RedPandaIDE/settings.cpp index 8432f341..95dd7969 100644 --- a/RedPandaIDE/settings.cpp +++ b/RedPandaIDE/settings.cpp @@ -2318,7 +2318,7 @@ void Settings::CompilerSet::setSDCCProperties(const QString& binDir, const QStri //Target int delimPos = 0; - while (delimPos=32)) + while (delimPos=((char)32))) delimPos++; QString triplet = output.mid(0,delimPos); @@ -2369,26 +2369,10 @@ QStringList Settings::CompilerSet::defines(bool isCpp) { arguments.append(NULL_FILE); -// QStringList args; -// args.append("-nostdinc"); -// args.append("-Wall"); -// args.append("-std=c11"); -// args.append("--obj-ext=.rel"); -// args.append("-d\"M\""); -// args.append("-E"); -// args.append("-isystem"); -// args.append("D:\\sdcc\\bin\\..\\include\\mcs51"); -// args.append("-xc"); -// args.append("NUL"); -// QFileInfo info(findProgramInBinDirs("sdcpp.exe")); -// qDebug()<<"**"<