MCPcopy Create free account
hub / github.com/boostorg/build / unknown_rule

Function unknown_rule

v2/engine/builtins.c:1102–1117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1100 */
1101
1102void unknown_rule( FRAME * frame, char const * key, module_t * module,
1103 OBJECT * rule_name )
1104{
1105 backtrace_line( frame->prev );
1106 if ( key )
1107 printf("%s error", key);
1108 else
1109 printf("ERROR");
1110 printf( ": rule \"%s\" unknown in ", object_str( rule_name ) );
1111 if ( module->name )
1112 printf( "module \"%s\".\n", object_str( module->name ) );
1113 else
1114 printf( "root module.\n" );
1115 backtrace( frame->prev );
1116 exit( 1 );
1117}
1118
1119
1120/*

Callers 3

builtin_importFunction · 0.85
builtin_exportFunction · 0.85
evaluate_ruleFunction · 0.85

Calls 3

backtrace_lineFunction · 0.85
object_strFunction · 0.85
backtraceFunction · 0.70

Tested by

no test coverage detected