From: DarkSoft AT gmx DOT net (^Hawk^) Newsgroups: comp.os.msdos.djgpp Subject: Allegro v3.0: error: 'handler' was not delcared in this scope !? Date: Tue, 21 Jul 1998 10:12:00 +0200 Organization: DarkSoft-Productions Message-ID: <35b44a88.3791053@news.fast-net.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 195.122.164.9 Lines: 22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hello there ! ;) I become the above error (and after that comes: error: type specifier omitted for parameter) if I try to compile this line: void activate_dialog(DIALOG *dlg, DIALOG_STATE (*handler)(int c), int chain) It's out of the setup.c of allegro and it's copyed 1/1 into my own source to learn at the use and alteration of examples. What tould me this error ? What must I do to fix it ? All included files of the setup.c are in my own source, too. Bye, ^Hawk^ - the DarkSoft-Productions. Home of VGA-Planets addons. VGAP: Always open games or slots! NEW : We've now our own java chat place! NEW : Join our discussion mailing list! HTTP://www.fast-net.de/~darksoft/