Bug 280319 - The "Main" item for GNAT project files is incorrectly formatted for multiple mains
Summary: The "Main" item for GNAT project files is incorrectly formatted for multiple ...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Hibachi (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-15 14:45 EDT by Adam Haselhuhn CLA
Modified: 2011-01-21 14:40 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Haselhuhn CLA 2009-06-15 14:45:09 EDT
The "Main" section for a GNAT project file (*.gpr) should contain a list of the filenames containing main units for the project.  The first main unit generated by Hibachi correctly specifies the file containing the main unit, but subsequent main units are specified by their unit name rather than the file containing the unit.
Comment 1 Adam Haselhuhn CLA 2009-06-26 13:26:34 EDT
Broken functionality for GNAT builds.  Fix for the first release.

The workaround is to create a separate configuration for each main unit.