This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: init_priority fix for services/memalloc
- From: Andrew Lunn <andrew at lunn dot ch>
- To: ?yvind Harboe <oyvind dot harboe at zylin dot com>
- Cc: ecos-patches at sources dot redhat dot com
- Date: Mon, 27 Sep 2004 19:39:33 +0200
- Subject: Re: init_priority fix for services/memalloc
- References: <1096291622.3003.1.camel@famine>
On Mon, Sep 27, 2004 at 03:27:02PM +0200, ?yvind Harboe wrote:
> The following works w/GCC 3.4.2:
>
> static foo CYGBLD_ATTRIB_INIT_PRI(N) bar;
>
> This does not:
>
> static foo bar CYGBLD_ATTRIB_INIT_PRI(N) ;
Is this just the init priority attribute or do all attributes break?
How does it break. Syntax error or code which does the wrong
thing. Before changing eCos i would first list to check the its not
GCC thats actually broken.
Thanks
Andrew