This is the mail archive of the
mailing list for the GCC project.
Re: RFC: attribute "unpadded"
Paul Koning <firstname.lastname@example.org> writes:
|> What I meant is: as far as I know, C has never had types that have
|> this sort of properties, so the new class is unlike normal C types.
|> And the restrictions are of a kind that a lot of C programmers would
|> probably find rather surprising. (It's not that they don't make sense
|> if you analyze what is going on. But C, nor for that matter any of
|> the half dozen or so languages I can think of, doesn't have any types
|> that aren't permitted as array elements.)
C always had function types and incomplete types, both are not valid as
array elements. But the new types are neither functions nor incomplete,
so there is something new about them.
Andreas Schwab, SuSE Labs, email@example.com
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."