Warn if program/library/data is defined multiple times

Bug #1162567 reported by Robert Ancell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bake
Triaged
Medium
Unassigned

Bug Description

Warn if program/library/data is defined multiple times, i.e. programs.foo.* is defined in src/Recipe othersrc/Recipe.

It's probably better to limit IDs to the same file to reduce confusion.

Changed in bake:
status: Triaged → Fix Committed
status: Fix Committed → Triaged
Revision history for this message
shuerhaaken (shkn) wrote :

It could be good to allow programs.foo and libraries.foo in the same project (each only once), if the program foo is one of the programs in the project linking against libfoo.

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Agreed, programs and libraries are in their own namespaces. Bake should stop being able to have two foo programs or two bar libraries though (otherwise you can't unambigiously link to a library inside your project).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.