delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/24/15:16:23

From: "Raul Carolus" <carolura AT luther DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: C++ errors involving installing interrupt callback procedures.
Date: Wed, 24 May 2000 20:58:31 +0200
Organization: T-Online
Lines: 27
Message-ID: <8gh91t$n4a$12$1@news.t-online.com>
Mime-Version: 1.0
X-Trace: news.t-online.com 959195006 12 23690 320030026865-0001 000524 19:03:26
X-Complaints-To: abuse AT t-online DOT de
X-Sender: 320030026865-0001 AT t-dialin DOT net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I'm using the Midas sound library function
MIDASsetTimerCallbacks(1000, false, &TimerUpdate, NULL, NULL);
to hook TimerUpdate to a 1 second interrupt.

However, GCC coughs at me with first:
Sorry, not implemented: tree_list not supported by dump_type
then
ANSI C++ forbids redefinition of () to (...)

I compiled an example program written in C with the above function, and it
did fine, but when i renamed the file to compile in C++, it died.

I'm obviously not doing something right. Any possible solutions?
Using GCC v2.95, and MIDAS version 1.1.2

Thanks, Raul


--
*********************************************
If it happens, God lets it happen.  If we
say, "I don't understand," God replies
"I don't care."
--Stephen King, "The Green Mile"
*********************************************


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019