[LLVMdev] Standard output binary mode on windows

Anton Korobeynikov asl at math.spbu.ru
Thu Jun 5 04:40:09 PDT 2008


Hello, Matthijs

> why do you only set binary mode for stdout? Don't you have the same problem
> when writing bitcode to file?
No, all files are opened in binary mode. This is really ugly thing
(stdout opened in text mode) which really hurt bunch of projects during
porting, since fallout from such thing can be pretty subtle.

-- 
With best regards, Anton Korobeynikov.

Faculty of Mathematics & Mechanics, Saint Petersburg State University.





More information about the llvm-dev mailing list