setstdiomode.cpp is broken: first it says "namespace dirac_vu", and then it conditionally includes some C headers. AFAIK it's a bad idea to include headers within namespace, unless you want all the respective functions to go into your namespace. Which is what happens at the moment. And that results in _fileno() becoming an undefined symbol at link-time.
Log in to post a comment.