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]

Re: libstdc++-v3 CVS 20001007. ansidecl.h not found


On Sat, Oct 07, 2000 at 11:47:50AM +0200, Matthias Klose wrote:
> libstdc++-v3/libsupc++/exception.cc includes gansidecl.h, which
> includes $(top_srcdir)/../include/ansidecl.h, which is not found.

Vaguely reasonable hack which works for me follows.  (It compiled
fine; tests are running now.)

zw

===================================================================
Index: libstdc++-v3/libsupc++/exception.cc
--- libstdc++-v3/libsupc++/exception.cc	2000/10/06 23:31:22	1.1
+++ libstdc++-v3/libsupc++/exception.cc	2000/10/07 18:31:37
@@ -32,7 +32,8 @@
 #include "typeinfo"
 #include "exception"
 #include <stddef.h>
-#include "gansidecl.h" /* Needed to support macros used in eh-common.h. */
+// Needed by eh-common.h.  This is C++ - prototypes are supported.
+#define PARAMS(x) x
 #include "eh-common.h"
 
 /* Define terminate, unexpected, set_terminate, set_unexpected as


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