17 Sep
2005
17 Sep
'05
12:24 p.m.
Paul TBBle Hampson wrote:
I'm only working with gcc, so I don't mind if we use gcc extensions myself...
They are indeed gcc extensions, but the #defines make the code compile with other compilers.
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. -- Nicolas Baradakis