bugmake - Bugs: bug #46582, Expose some mechanism for getting...


bug #46582: Expose some mechanism for getting access to a copy of "reading_file"

Submitted by:  Brian Vandenberg <phantal>
Submitted on:  Tue 01 Dec 2015 08:04:46 PM UTC  
Severity: 3 - NormalItem Group: Enhancement
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Component Version: 4.1Operating System: Any
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 19 Jan 2016 06:29:55 PM UTC, comment #1:

The first sentence in that was worded poorly; there's no obvious/apparent way to use it too determine the current makefile/line. Clearly it could be used to pass in src:line pairs for gmake APIs that are exposed / take one of these structs.

Brian Vandenberg <phantal>
Tue 01 Dec 2015 08:04:46 PM UTC, original submission:

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:

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.

Brian Vandenberg <phantal>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by phantal (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1