mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
[PR #179] [CLOSED] Added verification and error handling for GCC builder when compiler doesn't exist #209
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#209
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ultimatepp/ultimatepp/pull/179
Author: @klugier
Created: 12/10/2023
Status: ❌ Closed
Base:
master← Head:klugier/gcc-compiler-no-present-error📝 Commits (1)
b0a4a89Added verification and error handling for Gcc builder when compiler executable doesn't exist.📊 Changes
2 files changed (+16 additions, -0 deletions)
View changed files
📝
uppsrc/ide/Builders/Builders.h(+1 -0)📝
uppsrc/ide/Builders/GccBuilder.cpp(+15 -0)📄 Description
In the current GCC build algorithm, there is no clear indicator that the compiler executable doesn't exist. For example, let's assume that I typed "g+++" instead of "g++." In this case, there will be output on the compilation, but details about why it failed won't be present.
To mitigate this issue, there is a need to add a simple check at the beginning of the GccBuilder::BuildPackage method.
Output with change:
Output before:
In the above output the root cause is unknown.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.