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 Dec 1 20:04:46 2015  
 
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 MarkupRich Markup):
   

You are not logged in

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

 

Tue Jan 19 18:29:55 2016, 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 Dec 1 20:04:46 2015, 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:

_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.

Brian Vandenberg <phantal>

 

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

Attach File(s):
   
   
Comment:
   

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