- fix: Shouldn't warn "xxx.s is modifed" when "Generate assembly" is reran.
- fix: Shouldn't warn "Makefile is modifed" when "View Makefile" is reran.
This commit is contained in:
parent
454dcbadcb
commit
4e688a9136
2
NEWS.md
2
NEWS.md
|
@ -2,6 +2,8 @@ Red Panda C++ Version 3.1
|
|||
|
||||
- fix: Can't correctly select in column mode.
|
||||
- fix: Can't correctly parse template parameters that contains "->", like "std::queue<std::function<auto()->void>>";
|
||||
- fix: Shouldn't warn "xxx.s is modifed" when "Generate assembly" is reran.
|
||||
- fix: Shouldn't warn "Makefile is modifed" when "View Makefile" is reran.
|
||||
|
||||
Red Panda C++ Version 3.0
|
||||
|
||||
|
|
|
@ -2298,9 +2298,11 @@ bool MainWindow::compile(bool rebuild, CppCompileType compileType)
|
|||
mCompileSuccessionTask->isExecutable = true;
|
||||
}
|
||||
if (!mCompileSuccessionTask->isExecutable) {
|
||||
Editor *editor = mEditorList->getOpenedEditorByFilename(mCompileSuccessionTask->execName);
|
||||
if (editor)
|
||||
QString targetFileName = QFileInfo(mCompileSuccessionTask->execName).absoluteFilePath();
|
||||
Editor *editor = mEditorList->getOpenedEditorByFilename(targetFileName);
|
||||
if (editor) {
|
||||
mEditorList->closeEditor(editor,false,true);
|
||||
}
|
||||
}
|
||||
}
|
||||
stretchMessagesPanel(true);
|
||||
|
@ -7333,6 +7335,10 @@ void MainWindow::on_actionView_Makefile_triggered()
|
|||
{
|
||||
if (!mProject)
|
||||
return;
|
||||
Editor *editor = mEditorList->getOpenedEditorByFilename(mProject->makeFileName());
|
||||
if (editor) {
|
||||
mEditorList->closeEditor(editor, false, true);
|
||||
}
|
||||
prepareProjectForCompile();
|
||||
mCompilerManager->buildProjectMakefile(mProject);
|
||||
openFile(mProject->makeFileName());
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
set -euxo pipefail
|
||||
|
||||
ASTYLE_VERSION_TAG="3.4.15"
|
||||
|
||||
function fn_print_help() {
|
||||
echo " Usage:
|
||||
packages/msys/build-mingw.sh [-m|--msystem <MSYSTEM>] [-c|--clean] [-nd|--no-deps] [-t|--target-dir <dir>]
|
||||
|
@ -140,7 +142,6 @@ while [[ $# -gt 0 ]]; do
|
|||
esac
|
||||
done
|
||||
|
||||
ASTYLE_VERSION_TAG="3.4.14"
|
||||
BUILD_DIR="${TEMP}/redpanda-mingw-${MSYSTEM}-build"
|
||||
ASTYLE_BUILD_DIR="${BUILD_DIR}/astyle"
|
||||
PACKAGE_DIR="${TEMP}/redpanda-mingw-${MSYSTEM}-pkg"
|
||||
|
|
Loading…
Reference in New Issue