Seeing that
SPA_PROCESS_LATENCY_INFO_INIT
expands to a compound literal, it shouldn't compile in C++ in the first place (assuming -std=c++?? -pedantic-errors
). You just don't use this macro, and create a local variable of this type manually.