On Wed, 21 Aug 2019 at 17:50, Paul Koning <paulkon...@comcast.net> wrote:
>
>
>
> > On Aug 21, 2019, at 10:57 AM, Alexander Monakov <amona...@ispras.ru> wrote:
> >
> > On Wed, 21 Aug 2019, Paul Koning wrote:
> >
> >> I agree, but if the new approach generates a warning for code that was 
> >> written
> >> to the old rules, that would be unfortunate.
> >
> > FWIW I don't know which GCC versions accepted 'packed' on a scalar type.
>
> That wasn't what I meant; I was talking about the packed and aligned 
> attributes on struct members.  I thought you were saying that 
> ((packed,aligned(2))) is now a warning.  That doesn't appear to be the case, 
> though; it's accepted without complaint as it always was.

Right, nobody's suggesting that should be a warning. The warning is
for trying to pack a scalar variable, which is (and always was)
meaningless.

Reply via email to