[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

5.2 with latest patches and SunPRO CC

From: bug-ncurses
Subject: 5.2 with latest patches and SunPRO CC
Date: Wed, 15 Aug 2001 10:26:09 -0500
User-agent: Mutt/1.2.5i

in c++/etip.h:

inline void THROW(const NCursesException *e) {
#if defined(__GNUG__)
#  if ((__GNUG__ <= 2) && (__GNUC_MINOR__ < 8))
      throw *e;
#elif defined(__SUNPRO_CC)
  genericerror(1, ((e != 0) ? (char *)(e->message) : ""));
  if (e)
    cerr << e->message << endl;

As far as I can tell, Forte C++ (SunPRO 6.1 or CC v5.2) does not have
genericerror. However, the v4 SunPRO compiler does seem to have
  $ cd /opt/SUNWspro
  $ nm lib/CC4/libC.so
  [1432]  |     76164|      60|FUNC |GLOB |0    |10 |__0FMgenericerroriPc
  [63]    |         0|       0|FILE |LOCL |0    |ABS    |genericerror.cc

Actually, I just tried building with "-compat=4 --features=bool"
(without rerunning configure with the new CXXFLAGS) and got some other
errors while trying to link demo. Anyway, can the C++ library be built
without genericerror for Forte C++?

albert chin (address@hidden)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]