This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++-v3 CVS 20001007. ansidecl.h not found
- To: Matthias Klose <doko at cs dot tu-berlin dot de>
- Subject: Re: libstdc++-v3 CVS 20001007. ansidecl.h not found
- From: "Zack Weinberg" <zackw at stanford dot edu>
- Date: Sat, 7 Oct 2000 11:31:58 -0700
- Cc: gcc-bugs at gcc dot gnu dot org, libstdc++ at sources dot redhat dot com
- References: <14814.61766.801408.803114@gargle.gargle.HOWL>
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