From: "Eric J. Whitney" Newsgroups: comp.os.msdos.djgpp Subject: 'math' exception conflicts with 'new' exception Date: Fri, 02 Apr 1999 15:35:07 +1000 Organization: The University of Sydney, Australia Lines: 24 Message-ID: <3704570B.71211175@aero.usyd.edu.au> NNTP-Posting-Host: pc-114.inthouse.usyd.edu.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: metro.ucc.usyd.edu.au 923031407 2308 172.16.79.114 (2 Apr 1999 05:36:47 GMT) X-Complaints-To: usenet AT news DOT usyd DOT edu DOT au NNTP-Posting-Date: 2 Apr 1999 05:36:47 GMT X-Mailer: Mozilla 4.03 [en] (Win95; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi. I'm using DJGPP 2.8.0 and RHIDE. I'm cross-compiling a program originally written in Borland C++ 5.02. In some files, I include and and I get a conflict between the math exception mechanism (struct exception...) and the new exception mechanism (class exception...). I understand that the compiler doesn't support namespaces (lots of #include 0 's in the header). So how do I go about fixing this conflict. I can't see any mechanism for doing this..... Also I want both to be available, so I can implement my own math handler. Does anyone have a workaround for this? Any help appreciated. -- --------------------------------- Eric "The Wingnut" Whitney ---------------------------------