[LLVMdev] Standard output binary mode on windows

Julien Lerouge jlerouge at apple.com
Thu Jun 5 14:48:50 PDT 2008

On Thu, Jun 05, 2008 at 03:40:09PM +0400, Anton Korobeynikov wrote:
> 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.

Should I open a new PR to track this issue or reopen #787 ? I think the
binary releases of llvm and llvm-gcc for MingW32 on
http://llvm.org/releases/download.html#2.2 have the problem, stdout
cannot be used.


Julien Lerouge
PGP Key Id: 0xB1964A62
PGP Fingerprint: 392D 4BAD DB8B CE7F 4E5F FA3C 62DB 4AA7 B196 4A62
PGP Public Key from: keyserver.pgp.com

More information about the llvm-dev mailing list