X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Date: Mon, 11 Feb 2002 21:39:49 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: pavenis AT lanet DOT lv Message-Id: <7704-Mon11Feb2002213949+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <3C6811F1.25868.10A3D21@localhost> (pavenis@lanet.lv) Subject: Re: GCC-3.1 related patches for DJGPP CVS version References: <3C6811F1 DOT 25868 DOT 10A3D21 AT localhost> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: pavenis AT lanet DOT lv > Date: Mon, 11 Feb 2002 18:48:17 +0200 > > Tried to compile DJGPP today's CVS version with GCC-3.1 20020210. > To get it to compile applied included patches. > > 1) internal representation of __builtin_va_list changed to char *, as result > many breakages. Is that because we now use GCC's stdarg.h? > - if (__FSEXT_call_open_handlers(__FSEXT_unlink, &rv, &fn)) > + if (__FSEXT_call_open_handlers(__FSEXT_unlink, &rv, (va_list) &fn)) Is it possible to make the change in __FSEXT_call_open_handlers instead, and avoid all those casts? Also, does the modified code compile without warnings with older version of GCC?