cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/01/20/11:23:08

Date: Tue, 20 Jan 1998 16:18:09 +0100 (MET)
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
To: Robert Hoehne <robert DOT hoehne AT gmx DOT net>
cc: djgpp-workers AT delorie DOT com
Subject: Re: struct exception from math.h
In-Reply-To: <34C3A3DA.3150672B@gmx.net>
Message-ID: <Pine.LNX.3.93.980120161250.2231A-100000@acp3bf>
MIME-Version: 1.0

On Mon, 19 Jan 1998, Robert Hoehne wrote:

['struct exception' in <math.h> conflicts with C++ exception 
 gcc/libg++ 2.8]

> What should be the solution? My hint would be to rename it
> in math.h.

Rename: yes, but not unconditionally. After all, there *are* bound to be
at least some programs that use it.

My suggestion would be to rename the structure, but keep the old name as
an alternative that is only deactivated when C++ is compiled (and maybe
only when we're using the 2.8 versions). A big warning in the docs and the
release notes about this change would also be necessary. 

Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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