Mail Archives: djgpp/1998/09/29/05:00:42
> ----------
> From: George Foot[SMTP:george DOT foot AT merton DOT ox DOT ac DOT uk]
> Reply To: mert0407 AT sable DOT ox DOT ac DOT uk
> Sent: lundi 28 septembre 1998 17:51
> To: EFT.Eric Devolder
> Subject: Re: Program goes wrong when optimized under gcc 2.8
>
> 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
>
>
Thank you! I apologize for this enormous error. It should probably write
over sprintf() structures, causing strange behavior in output.
Regards,
Eric Devolder
Eric DEVOLDER <eric DOT devolder AT no DOT spam DOT here>
(look in <From:> to get my reply adress)
- Raw text -