[PATCH 1 of 2] libc/eglibc: [OS X] Don't Use __block as a Name of an Argument
Yann E. MORIN
yann.morin.1998@free.fr
Fri Apr 12 21:51:00 GMT 2013
Philip, All,
On Tue, Mar 26, 2013 at 05:25:31PM +0200, Philip Belemezov wrote:
> # HG changeset patch
> # User Philip Belemezov <philip@belemezov.net>
> # Date 1364300812 -7200
> # Node ID fcdf7fc7fd1c00715c3d9651ff00d805ecfb8aa8
> # Parent 0fc56e62cecf07e4cdaf866ee24d6893c4ade436
> libc/eglibc: [OS X] Don't Use __block as a Name of an Argument
>
> Apple's GCC defines __block as
>
> #define __block __attribute__((__blocks__(byref)))
>
> which causes compilation to fail (attribute cannot be applied to argument).
I do not understand why this patch is needed at all: we're not building
(e)glibc with the Apple-patched native gcc, but with a plain gcc that we
just build ourselves in the process.
Unless I missed something... Can you elaborate, please?
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list