ARM and __attribute__ long_call error
Jani Monoses
jani@iv.ro
Wed Jun 8 11:25:00 GMT 2005
>
> void __attribute__ ((long_call)) pig(void)
> {
> }
>
Ok thanks, with such change to the definition the file compiles.
I didn't know one can attribute definitions too, and info gcc says:
"
The keyword `__attribute__' allows you to specify special attributes
when making a declaration.
"
So I supposed that for any function that has an attribute you need an explicit function
declaration stating that, and then the definition as usual.
Jani
More information about the Gcc
mailing list