| www.delorie.com/archives/browse.cgi | search |
| Message-Id: | <199809281550.LAA13535@indy.delorie.com> |
| Comments: | Authenticated sender is <mert0407 AT sable DOT ox DOT ac DOT uk> |
| From: | "George Foot" <george DOT foot AT merton DOT ox DOT ac DOT uk> |
| To: | "EFT.Eric Devolder" <eric DOT devolder AT eft DOT be> |
| Date: | Mon, 28 Sep 1998 16:48:11 +0000 |
| MIME-Version: | 1.0 |
| Subject: | Re: Program goes wrong when optimized under gcc 2.8 |
| Reply-to: | mert0407 AT sable DOT ox DOT ac DOT uk |
| CC: | djgpp AT delorie DOT com |
On 28 Sep 98 at 11:24, EFT.Eric Devolder wrote:
> void process_header(long *total, long *hash)
> {
> struct date *now;
>
> getdate(now);
You haven't pointed `now' at anything. Try this instead:
struct date now;
getdate (&now);
then alter the rest of the function to use `.' instead of `->'.
--
george DOT foot AT merton DOT oxford DOT ac DOT uk
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |