The only things I've seen __attribute__ used for alignment of the variable
of structure field (sometimes used in assembler optimizations). I know
what you're talking about in regards to gcc complaining about "wrong"
fields much like a printf statement, and I'm digging through some of my old
code to find an example of it.
d.
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST