- fix: Can't compile / run assembly files in gcc 13/14 .

This commit is contained in:
Roy Qu 2024-05-08 11:48:55 +08:00
parent 73d0ded92f
commit eca9d2ecbf
2 changed files with 3 additions and 1 deletions

View File

@ -166,6 +166,7 @@ Red Panda C++ Version 2.27
- change: Set "Ctrl+B" as the shortcut for "Toggle Bookmark" - change: Set "Ctrl+B" as the shortcut for "Toggle Bookmark"
- fix: Fail to evaluate expressions if macro can't be expanded. - fix: Fail to evaluate expressions if macro can't be expanded.
- enhancement: New menu item "Code completion" in "Code" menu. - enhancement: New menu item "Code completion" in "Code" menu.
- fix: Can't compile / run assembly files in gcc 13/14 .
Red Panda C++ Version 2.26 Red Panda C++ Version 2.26
- enhancement: Code suggestion for embedded std::vectors. - enhancement: Code suggestion for embedded std::vectors.

View File

@ -849,7 +849,8 @@ void MainWindow::updateCompileActions(const Editor *e)
canDebug = set->canDebug(); canDebug = set->canDebug();
break; break;
case FileType::GAS: case FileType::GAS:
if (set->compilerType()==CompilerType::GCC) { if (set->compilerType()==CompilerType::GCC
|| set->compilerType()==CompilerType::GCC_UTF8) {
canCompile = true; canCompile = true;
canRun = canCompile; canRun = canCompile;
canDebug = set->canDebug(); canDebug = set->canDebug();