This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Conflict between GCC C++ and Solaris 2.6
- To: bug-gcc at gnu dot org
- Subject: Conflict between GCC C++ and Solaris 2.6
- From: d dot forrai at ieee dot org
- Date: Sun, 22 Aug 1999 12:12:47 -0400
Dear Sir or Madame,
When compiling DDD on Solaris 2.6 Intel Edition with GCC 2.95, I
discovered a conflict with Solaris' math.h header file. This header file
declares a structure named exception for handling math exception. They
claim this is conformant to some C standard. GCC 2.95 declares an
exception class for C++. I received a redefinition error of exception
when trying to compile files that included math.h.
Sincerely,
David P. Forrai
d.forrai@ieee.org