Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Mar 1997 03:14:21 -0800
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        hackers@freebsd.org
Subject:   Header fighting..
Message-ID:  <10104.857906061@time.cdrom.com>

next in thread | raw e-mail | index | archive | help
/usr/include/math.h:67: redefinition of `class exception'
/usr/include/g++/std/stdexcept.h:58: previous definition here
/usr/include/g++/std/stdexcept.h:58: previous declaration of `exception::exception(const struct exception &)' with C++ linkage

Yep, math.h declares a struct exception and stdexcept.h declares an
exception class.  Houston, we have a name clash.

Hmmmm.  The number of references to `struct exception' in our source
tree is actually pretty small - mostly confined to the math libraries
themselves.  Which would be easier to change, do you think? :)

					Jordan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10104.857906061>