Comment 4 for bug 1786927

Revision history for this message
mdavidsaver (mdavidsaver) wrote :

Firstly, any answer other than "do nothing" should add a macro to skip all of the macro magic of epicsStdio.h. This gives an escape hatch for future problems.

Second. I wasn't thinking properly. The way to handle this is to do exactly what the cstdio header does.

namespace std {
    using ::epicsGetStdin;
    using ::epicsGetStdout;
    using ::epicsGetStderr;
    using ::epicsStdoutPrintf;
    using ::epicsStdoutPuts;
    using ::epicsStdoutPutchar;
}