Damien,
> It seems your code could lead to these macros having different
> values in a long compilation, which the standard doesn't permit.
Ouch, I didn't know that either. I learned to be humble before C. Still,
I had
a quick look at the C99 standard and couldn't find it explicitly. No wonder
why I didn't know it in the first place.
Sentence 2004: http://c0x.coding-guidelines.com/6.10.8.html
--
Derek M. Jones tel: +44 (0) 1252 520 667
Knowledge Software Ltd mailto:derek@xxxxxxxxxxxx
Applications Standards Conformance Testing http://www.knosof.co.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html