diff --git a/NEWS.md b/NEWS.md index 4f94d066..51c77552 100644 --- a/NEWS.md +++ b/NEWS.md @@ -166,6 +166,7 @@ Red Panda C++ Version 2.27 - change: Set "Ctrl+B" as the shortcut for "Toggle Bookmark" - fix: Fail to evaluate expressions if macro can't be expanded. - 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 - enhancement: Code suggestion for embedded std::vectors. diff --git a/RedPandaIDE/mainwindow.cpp b/RedPandaIDE/mainwindow.cpp index e4816d11..7bcb53b1 100644 --- a/RedPandaIDE/mainwindow.cpp +++ b/RedPandaIDE/mainwindow.cpp @@ -849,7 +849,8 @@ void MainWindow::updateCompileActions(const Editor *e) canDebug = set->canDebug(); break; case FileType::GAS: - if (set->compilerType()==CompilerType::GCC) { + if (set->compilerType()==CompilerType::GCC + || set->compilerType()==CompilerType::GCC_UTF8) { canCompile = true; canRun = canCompile; canDebug = set->canDebug();