[Gllug] code optimisations

Chris Ball chris at void.printf.net
Wed Mar 23 17:19:27 UTC 2005


On Wed, Mar 23, 2005 at 02:15:40PM +0000, Rich Walker wrote:
> I thought there was a preference not to use #pragma ("it's irredeemably
> broken")? Or has this changed?

I think in this case it's mainly for compatibility with icc, but 
#pragma did become slightly less evil with C99.  Also, gcc doesn't 
support annotations (ie. attributes) of statements, so I'm having 
trouble imagining a syntax for loop annotation using attributes. 
(Which doesn't mean it's not possible.)

- Chris.
-- 
Chris Ball   <chris at void.printf.net>
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list