[patch] Fix open extern "C" in newlib's machine/setjmp.h
David Vrabel
dvrabel@arcom.com
Thu Oct 7 19:23:00 GMT 2004
Hi,
newlib/libc/include/machine/setjmp.h has an open extern "C" block when
building for certain architectures (e.g., generic i386).
This showed up during a GCC 3.4.2 build for i386-elf targets (for eCos)
as a failure in generated the precompiled stdc++ headers.
David Vrabel
ps. I'm not subscribed.
--- newlib-1.12.0.orig/newlib/libc/include/machine/setjmp.h Tue Oct
5 12:53:54 2004
+++ newlib-1.12.0/newlib/libc/include/machine/setjmp.h Thu Oct 7
13:43:51 2004@@ -204,8 +204,6 @@
typedef int jmp_buf[_JBLEN];
#endif
-_END_STD_C
-
#if defined(__CYGWIN__) || defined(__rtems__)
#include <signal.h>
@@ -236,3 +234,5 @@
#endif
#endif /* __CYGWIN__ or __rtems__ */
#endif
+
+_END_STD_C
More information about the Newlib
mailing list