From: "Charles Wood" Newsgroups: comp.os.msdos.djgpp Subject: Re: Porting Watcom 11.0 to djgpp Date: Fri, 7 Jan 2000 10:51:47 -0800 Organization: AT&T WorldNet Services Lines: 45 Message-ID: <8559hr$49a$1@bgtnsc02.worldnet.att.net> References: <853fat$5q4$1 AT bgtnsc03 DOT worldnet DOT att DOT net> <3875D12C DOT F6931CFF AT is DOT elta DOT co DOT il> NNTP-Posting-Host: 12.72.133.221 X-Trace: bgtnsc02.worldnet.att.net 947267963 4394 12.72.133.221 (7 Jan 2000 17:59:23 GMT) X-Complaints-To: abuse AT worldnet DOT att DOT net NNTP-Posting-Date: 7 Jan 2000 17:59:23 GMT X-Newsreader: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Now I'm getting worried. This is *NOT* fun, nor exciting, nor even moderately interesting to do. Porting does encompass any other the things that make me Like to be a programmer. DJPGG is making this even more interesting as I am having trouble finguring out how to get help quickly. (info just doesn't cut it for me yet) I feel like I'm adding a new feature to some idiots legacy code - argh! -- Charles Wood REMOVEMEc DOT r DOT wood AT worldnet DOT att DOT net Eli Zaretskii wrote in message <3875D12C DOT F6931CFF AT is DOT elta DOT co DOT il>... >Charles Wood wrote: >> >> I am having a problem declaring a pointer to a function: >> >> in watcom: >> >> void interrupt (*old)(); >> >> this doesn't compile. >> >> errors: >> >> dataglb.h : xxx: 'old' was not declared in this scope >> dataglb.h : xxx: function 'void interrupt()' is initialized like >> a variable > >GCC doesn't recognize the `interrupt' keyword. See section 18.9 of the DJGPP >FAQ list for details of how to install interrupt handlers with DJGPP. You will >see that you need to rewrite most of your handler anyhow, so the `interrupt' >qualifier should be the least of your problems.