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

 
 

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

Submitter:  Brian Vandenberg <phantal>
Submitted:  Tue 01 Dec 2015 08:04:46 PM UTC
   
 
Severity:  3 - Normal Item Group:  Enhancement
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  4.1 Operating System:  Any
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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:

_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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-269c.
    Corresponding source code