Mail Archives: djgpp/1997/08/04/00:20:00

From: Pam Greene <topcoder AT mindspring DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: seeking with fstream
Date: Wed, 30 Jul 1997 00:53:07 -0400
Organization: MindSpring Enterprises
Lines: 2
Message-ID: <>
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

can anyone tell me how i can set the file position (aka seeking) when i
am using fstream?
o rebuild it with the pentium-optimized gcc, but it won't
get past the stuff in the stdio directory.

I know my djgpp installation is working fine, because things
compile correctly (with this exception, of course). Here's
gcc's output:

--------------------------------------- Making in ansi/stdio
gcc @../../../gcc.opt -I. -I- -I../../../../include  -c doprnt.c
cc1.exe: warnings being treated as errors
doprnt.c: In function `_doprnt':
doprnt.c:83: warning: `_ulonglong' might be used uninitialized in this
make.exe: *** [doprnt.o] Error 1

What's this error mean, anyway? In doprnt.c, on line 83,
there is only a declaration of a variable:

unsigned long long _ulonglong;

It's not being 'used' -- just declared. Am I missing something?
Any tips would be *greatly* appreciated.


 O~O-@| Revin Guillen
  <   / 
   = /  remove the '.nospam' to reply via e-mail
     Alcyone Systems /   web /
San Jose, California, United States /  icbm / 37 20 07 N  121 53 38 W
   "Love is not love which alters / when it alternation finds."
                                 / William Shakespeare, _Sonnets_, 116

- Raw text -

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