X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Message-ID: <3C6CDF64.2647B8FB@student.uu.se> Date: Fri, 15 Feb 2002 11:13:56 +0100 From: Sven Sandberg X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro Timers References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: regulus2.student.uu.se X-Trace: puffinus.its.uu.se 1013767692 regulus2.student.uu.se (15 Feb 2002 11:08:12 +0100) Lines: 22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Brent Ritchie wrote: > void fps(...) You should declare fps as void fps(void) But this isn't what you asked for; to fix that, it should be sufficient to just insert an explicit cast of fps to void * where you lock it. I.e.: LOCK_FUNCTION((void *)fps); Martin Stromberg wrote: > Try using C instead of C++. Allegro is C, not C++, unless it has > changed. No, Allegro works with both C and C++, so you can stay with whatever you prefer. -- Sven Sandberg svsa1977 AT student DOT uu DOT se home.student.uu.se/svsa1977