This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Conflict between GCC C++ and Solaris 2.6


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]