Follow-up Comment #1, bug #44464 (project make):
In case someone thinks that's a silly thing to want to do, I thought I'd post
another example:
{{{
/*...*/
extern C int blah_gmk_setup( const gmk_floc* floc ) {
for( some_map_t::iterator iter : some_map ) {
gmk_add_function(
URL:
http://savannah.gnu.org/bugs/?44464
Summary: gmk_add_function retains ptr to name it's given
Project: make
Submitted by: phantal
Submitted on: Sat 07 Mar 2015 09:45:42 AM GMT
Severity: 3 - Normal
Item
Follow-up Comment #2, bug #44464 (project make):
What I'm using it for is a way to create a number of functions that can be
used like $(if) but they test a specific condition and only evaluate either
the true or false part, not both. For example:
{{{
$(setstate if_something, $(ifdef