[patch] Fix open extern "C" in newlib's machine/setjmp.h
Jeff Johnston
jjohnstn@redhat.com
Thu Oct 7 20:21:00 GMT 2004
Thanks David, however, this has already been fixed by Eric Christopher in the
current sources by fixing up the endifs, rather than moving the _END_STD_C.
2004-04-08 Eric Christopher <echristo@redhat.com>
* libc/include/machine/setjmp.h: Fix endif locations.
-- Jeff J.
David Vrabel wrote:
> 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