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

Zack Weinberg zackw@stanford.edu
Sat Oct 7 11:32:00 GMT 2000


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



More information about the Libstdc++ mailing list