From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: getdate() Date: Thu, 16 Apr 1998 23:57:37 -0400 Organization: Two pounds of chaos and a pinch of salt. Lines: 24 Message-ID: <3536D331.6C04@cs.com> References: <3536CBE7 DOT 3A55 AT cs DOT com> <54AZ.3256$sN3 DOT 534101 AT news21 DOT bellglobal DOT com> NNTP-Posting-Host: ppp230.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Paul Derbyshire wrote: > > These have date info? > I searched my info for date, not for time, and getdate() was all it turned > up... That's another ANSI function. According to Info, it returns the following struct: struct date { short da_year; char da_day; char da_mon; }; That should do what you want. -- --------------------------------------------------------------------- | John M. Aldrich | "To be 'matter of fact' about the | | aka Fighteer I | world is to blunder into fantasy-- | | mailto:fighteer AT cs DOT com | and dull fantasy at that, as the real| | http://www.cs.com/fighteer | world is strange and wonderful." -LL | --------------------------------------------------------------------- were using 62 megs it would have the exact same problem at the command prompt, which it does not. So what is wrong with PGCC? What other circumstances will make it emit that error message? Environment space perhaps? RHIDE will fill its environment and that of any subtask with $RHIDE_COMPILE_FLAGS and so forth, so that could be it, except I just don't see why cc1plus would use environment space as internal storage. -- .*. "Clouds are not spheres, mountains are not cones, coastlines are not -() < circles, and bark is not smooth, nor does lightning travel in a `*' straight line." ------------------------------------------------ -- B. Mandelbrot | Paul Derbyshire (PGD) ao950 AT freenet DOT carleton DOT ca ______________________ ____|_____________ pderbysh AT usa DOT net Programmer & Humanist | ICQ: 10423848 | http://chat.carleton.ca/~pderbysh