URL: <http://savannah.gnu.org/bugs/?46582>
Summary: Expose some mechanism for getting access to a copy of "reading_file" Project: make Submitted by: phantal Submitted on: Tue 01 Dec 2015 08:04:46 PM GMT Severity: 3 - Normal Item Group: Enhancement Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 4.1 Operating System: Any Fixed Release: None Triage Status: None _______________________________________________________ Details: The header "gnumake.h" has a definition for the type "gmk_floc", but there's no obvious/apparent way to make use of it. In my code I have a declaration of the form: __attribute__((weak)) const gmk_floc* reading_file; ... I use for generating errors with file:line pairs and getting the current makefile. I would like to see something a little more concrete in the API, whether it's "reading_file" that gets exposed directly or a function we can call & pass a pointer to a gmk_floc instance to be populated. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?46582> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make