bugmake - Bugs: bug #59691, feature requests: something...


bug #59691: feature requests: something similiar to __LINE__ and __FILE__ in C

Submitted by:  None
Submitted on:  Tue 15 Dec 2020 02:06:22 PM UTC
Severity:  3 - Normal Item Group:  Enhancement
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  4.3 Operating System:  POSIX-Based
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:
       No canned response available


Tue 15 Dec 2020 02:06:22 PM UTC, original submission:  

This is while developing Bismon (a GPLv3+ static source code analyzer leveraging above GCC on Linux; see https://github.com/bstarynk/bismon/ for the source code, and http://starynkevitch.net/Basile/bismon-chariot-doc.pdf for a DRAFT report describing it.

It would be nice to have in GNU make something inspired by GCC magical macros: _FILE_, _LINE_, and _COUNT_

We could have a GNU make textual function $(this_file) which would expand to the current file name (e.g. to 'Makefile`). And a GNU make textual function $(this_line) expanded to the current file number. And a GNU make textual function $(this_counter) expanded to  a unique counter (incremented at each invokation).



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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


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