Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Default_Switches from project files. #1167

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

reznikmm
Copy link
Member

gprbuild ignores Default_Switches when there is Switches clause. Gprbuild guide says:

Value is a list of switches to be used when invoking the compiler
for the language for a source of the project,
if there is no applicable attribute Switches.

On the other side Default_Switches confuseis GNAT Studio.

Fix #1166

`gprbuild` ignores `Default_Switches` when there is `Switches` clause.
Gprbuild guide says:

> Value is a list of switches to be used when invoking the compiler
> for the language for a source of the project,
> if **there is no applicable attribute** Switches.

On the other side `Default_Switches` confuseis GNAT Studio.

Fix AdaCore#1166
@reznikmm reznikmm requested a review from gusthoff December 30, 2024 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid project file in downloaded examples.
1 participant