init_priority fix for services/memalloc

Andrew Lunn andrew@lunn.ch
Mon Sep 27 17:39:00 GMT 2004


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



More information about the Ecos-patches mailing list