@@ -260,7 +260,7 @@ void transfer_StartupInfo_to_my_thread() {
260
260
261
261
void register_startup_function (const StartUp& one_startup) {
262
262
#ifdef DEBUG_STARTUP
263
- printf (" %s:%d In register_startup_function type: %d at %p\n " , __FILE__, __LINE__, startup ._Type , startup ._Function );
263
+ printf (" %s:%d In register_startup_function type: %d at %p\n " , __FILE__, __LINE__, one_startup ._Type , one_startup ._Function );
264
264
#endif
265
265
StartupInfo* startup = NULL ;
266
266
// if my_thread is defined - then use its startup info
@@ -289,7 +289,7 @@ void register_startup_function(const StartUp& one_startup) {
289
289
/* ! Return the number of startup_functions that are waiting to be run*/
290
290
size_t startup_functions_are_waiting () {
291
291
#ifdef DEBUG_STARTUP
292
- printf ( " %s:%d startup_functions_are_waiting returning % " PRu " \n " , __FILE__, __LINE__, my_thread->_Startup ._count );
292
+ fmt::print ( " {}:{} startup_functions_are_waiting returning {} \n " , __FILE__, __LINE__, my_thread->_Startup ._count );
293
293
#endif
294
294
return my_thread->_Startup ._count ;
295
295
};
@@ -314,7 +314,7 @@ core::T_O* startup_functions_invoke(T_O* literals) {
314
314
#ifdef DEBUG_STARTUP
315
315
printf (" %s:%d In startup_functions_invoke - there are %" PRsize_t " startup functions\n " , __FILE__, __LINE__, startup_count);
316
316
for (size_t i = 0 ; i < startup_count; ++i) {
317
- Startup & startup = startup_functions[i];
317
+ StartUp & startup = startup_functions[i];
318
318
printf (" %s:%d Startup fn[%" PRsize_t " ] -> %p\n " , __FILE__, __LINE__, startup._Position , startup._Function );
319
319
}
320
320
printf (" %s:%d Starting to call the startup functions\n " , __FILE__, __LINE__);
@@ -328,9 +328,6 @@ core::T_O* startup_functions_invoke(T_O* literals) {
328
328
__FILE__, __LINE__, startup._Position );
329
329
}
330
330
previous = startup;
331
- #ifdef DEBUG_STARTUP
332
- printf (" %s:%d About to invoke fn@%p\n " , __FILE__, __LINE__, fn);
333
- #endif
334
331
switch (startup._Type ) {
335
332
case StartUp::T_O_function:
336
333
result = ((T_OStartUp)startup._Function )(literals); // invoke the startup function
0 commit comments