delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/05/11:14:14

Date: Thu, 5 Nov 1998 18:13:45 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Stefano Del Furia <delfo AT tech-center DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: exception error
In-Reply-To: <3.0.2.32.19981105140208.00711000@tex.lineanet.net>
Message-ID: <Pine.SUN.3.91.981105180853.7106D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Thu, 5 Nov 1998, Stefano Del Furia wrote:

> when you try to compile a program that needs to include the vector and the
> math.h files, you have some error.
> DJGPP 2.8.1 in dos environment.

This is a known bug in DJGPP v2.01: <math.h> declares `struct exception'
which conflicts with a C++ keyword `exception'.  A corrected math.h is 
included in the gcc281b.zip archive; it installs into the 
lib/gcc-lib/djgpp/2.81/include directory.  You should use that corrected 
version instead of the one from djdev201.zip.

Please note that this problem and its solution are described in section 
8.19 of the DJGPP FAQ list (v2/faq211b.zip from the same place you got 
DJGPP).  I suggest to look into the FAQ whenever you have problems, 
before you post here.

- Raw text -


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