Attributes of functions

Paul TBBle Hampson Paul.Hampson at
Sat Sep 17 18:30:39 CEST 2005

On Sat, Sep 17, 2005 at 06:24:00PM +0200, Nicolas Baradakis wrote:
> Paul TBBle Hampson wrote:

>> Are the attributes likely to vary between compilers we care about?
>> (as opposed to simply present or absent)

>> If so, then the latter is neccessary... If not, the former is
>> sufficient, and prolly cleaner.

> Both versions work with non-gcc compiler. My question is mainly about
> the preferred coding style.

Both versions do _nothing_ with non-gcc compilers. I'm talking about the idea
that a non-gcc compiler will implement the same thing either with different
attribute names, or a different pre-function syntax altogether.

If such a compiler exists, and we care about it, we should do the latter as
it's easier to extend clearly to cover other compilers.

Paul "TBBle" Hampson, MCSE
8th year CompSci/Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
Paul.Hampson at Pobox.Com

Of course Pacman didn't influence us as kids. If it did,
we'd be running around in darkened rooms, popping pills and
listening to repetitive music.
 -- Kristian Wilson, Nintendo, Inc, 1989

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the Freeradius-Devel mailing list