fixes debug output on windows. std::cerr is lost,
only std::cout, printf() and fprintf(stderr, ..) work.
void
PBD::debug_print (const char* prefix, string str)
{
- cerr << prefix << ": " << str;
+ cout << prefix << ": " << str;
}
int
if (strncasecmp (cstr, i->first, strlen (cstr)) == 0) {
bits |= i->second;
- cerr << i->first << " set ... debug bits now set to " << bits << " using " << i->second << endl;
+ cout << i->first << " set ... debug bits now set to " << bits << " using " << i->second << endl;
}
}
}