AdaCore / AdaCore/gnatcoll-core

Project file triggers warning on each and every build

Open
#62 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ada
Stars
55
Forks
36
PR merge metrics
No merged PRs in 30d

Description

When building with alire, I get on each and every build a warning:

..\alire\cache\dependencies\gnatcoll_22.0.0_620c2f23\gnatcoll.gpr
        254:7 warning: value "windows" is not used as label

This warning cause GNATstudio to open the gnatcoll.gpr file, bring it into focus, and show the line containing the issue.
This distracts enormously!

Could you please make an update (22.0.1) that doesn't have this warning?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the warning with an Alire build and inspect alire/cache/dependencies/gnatcoll_22.0.0_620c2f23/gnatcoll.gpr at line 254. Done means the repeated warning is removed and GNATstudio no longer opens or focuses that project file during builds.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.