Comment 2 for bug 1786927

Revision history for this message
Ralph Lange (ralph-lange) wrote :

Doesn't work.

1) Not nice
printf() is variadic, so the inlined code needs to do the va_list gymnastics and call vfprintf().

2) Show stopper
Inside any C++ code that is "using namespace std;", a call to printf(), i.e. epicsStdoutPrintf(), is ambiguous because of the overloaded epicsStdoutPrintf() and std::epicsStdoutPrintf() functions.

Duh!