- change: The option "Check for stack smashing attacks (-fstack-protector)" is turned off by default in the Debug compiler set settings.

This commit is contained in:
Roy Qu 2023-04-07 09:55:35 +08:00
parent cc5e6d1dab
commit 8deb40f9f5
4 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,7 @@
Red Panda C++ Version 2.21
- change: The option "Check for stack smashing attacks (-fstack-protector)" is turned off by default in the Debug compiler set settings.
Red Panda C++ Version 2.20 Red Panda C++ Version 2.20
- change: Remove the compiler set option "Syntax error when object larger than" - change: Remove the compiler set option "Syntax error when object larger than"

View File

@ -8,7 +8,7 @@ isEmpty(APP_NAME) {
} }
isEmpty(APP_VERSION) { isEmpty(APP_VERSION) {
APP_VERSION = 2.20 APP_VERSION = 2.21
} }
contains(QMAKE_HOST.arch, x86_64):{ contains(QMAKE_HOST.arch, x86_64):{

View File

@ -2748,7 +2748,8 @@ static void setDebugOptions(Settings::PCompilerSet pSet, bool enableAsan = false
// pSet->setCustomLinkParams("-fsanitize=address"); // pSet->setCustomLinkParams("-fsanitize=address");
// pSet->setUseCustomLinkParams(true); // pSet->setUseCustomLinkParams(true);
} }
pSet->setCompileOption(CC_CMD_OPT_STACK_PROTECTOR, "-strong"); //Some windows gcc don't correctly support this
//pSet->setCompileOption(CC_CMD_OPT_STACK_PROTECTOR, "-strong");
pSet->setStaticLink(false); pSet->setStaticLink(false);
} }

View File

@ -14,7 +14,7 @@ qsynedit.subdir = libs/qsynedit
APP_NAME = RedPandaCPP APP_NAME = RedPandaCPP
APP_VERSION = 2.20 APP_VERSION = 2.21
# Add the dependencies so that the RedPandaIDE project can add the depended programs # Add the dependencies so that the RedPandaIDE project can add the depended programs
# into the main app bundle # into the main app bundle