Sorry!   disregard this patch please.

The problem I was seeing had nothing to do with Xcode.   It was because 
Homebrew’s binutils
had installed its own ansidecl.h which was being used instead of the ansidecl.h 
that came with 
the gcc sources.

> On Jul 19, 2015, at 6:52 PM, Lawrence D'Anna <[email protected]> wrote:
> 
> ansidecl.h is using _ANSIDECL_H as it's guard #ifdef.  But names that start 
> with
> underscore are reserved, and the latest version of Xcode seems to be 
> exercising
> its prerogative to define _ANSIDECL_H.
> 
> Signed-off-by: Lawrence D'Anna <[email protected]>
> ---
> toolchain/gcc/patches/4.8-linaro/999-ansidecl-h.patch | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
> create mode 100644 toolchain/gcc/patches/4.8-linaro/999-ansidecl-h.patch
> 
> diff --git a/toolchain/gcc/patches/4.8-linaro/999-ansidecl-h.patch 
> b/toolchain/gcc/patches/4.8-linaro/999-ansidecl-h.patch
> new file mode 100644
> index 0000000..d7267b3
> --- /dev/null
> +++ b/toolchain/gcc/patches/4.8-linaro/999-ansidecl-h.patch
> @@ -0,0 +1,13 @@
> +--- a/include/ansidecl.h
> ++++ b/include/ansidecl.h
> +@@ -112,8 +112,8 @@ Foundation, Inc., 51 Franklin Street - F
> +    CONST, VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID,
> +    AND, DOTS, NOARGS.  Don't use them.  */
> + 
> +-#ifndef     _ANSIDECL_H
> +-#define _ANSIDECL_H 1
> ++#ifndef     ANSIDECL_H
> ++#define ANSIDECL_H  1
> + 
> + #ifdef __cplusplus
> + extern "C" {
> -- 
> 2.3.8 (Apple Git-58)
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to