www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/23/14:21:06

Date: Sun, 23 Aug 1998 17:45:40 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Steve Higgins <steve AT psp-digital DOT co DOT uk>
cc: "'DJGPP Mail List'" <djgpp AT delorie DOT com>
Subject: Re: Duplicate definition in two different include files.
In-Reply-To: <01BDCD1B.3FD70870@TAURUS>
Message-ID: <Pine.SUN.3.91.980823174432.1451q-100000@is>
MIME-Version: 1.0

On Fri, 21 Aug 1998, Steve Higgins wrote:

> gcc     testit.cc   -o testit
> In file included from testit.cc:2:
> c:/djgpp/include/math.h:73: redefinition of `class exception'

This is a known problem: math.h conflicts with C++ programs that use
exceptions.  It will be corrected in DJGPP v2.02.  In the meantime,
you should use the modified version of math.h which comes with
gcc281b.zip, e.g. by deleting or renaming the version of math.h in the
include directory.

I think this should be described in the file problems.txt which comes
with gcc281b.zip, no?

- Raw text -


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