www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/05/23:49:11

From: Nathan Smith <stryyker16 AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: GCC 3 and binary files
Date: Tue, 06 Nov 2001 15:35:22 +1100
Lines: 8
Message-ID: <4paeutcoudpfdcjpvbnhrujtk3134dtj29@4ax.com>
NNTP-Posting-Host: 177.olv0102.olv.iprimus.net.au (210.50.12.177)
Mime-Version: 1.0
X-Trace: fu-berlin.de 1005021388 35913188 210.50.12.177 (16 [86525])
X-Newsreader: Forte Agent 1.8/32.548
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

It seems to me GCC 3 and GCC 2 do some things differently

before I'd do something like:
int mode_in=(ios::in | ios::binary | ios::nocreate);
fstream filein(filename,mode_in);

and it would work. Now it doesn't. Any docs on how all these things
are done with GCC3?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019