On 09/15/2017 05:53 AM, Paolo Carlini wrote:
Hi,

gently pinging this.

On 16/06/2017 15:47, Paolo Carlini wrote:
Hi,

submitter and Manuel analyzed this a while ago and came to the conclusion - which I think is still valid vs the current working draft - that strictly speaking this kind of code violates [dcl.dcl], thus a pedwarn seems more suited than a plain warning. The below one-liner, suggested by Manuel at the time, passes testing on x86_64-linux together with my testsuite changes.

     https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01193.html

Ok.  class.union.anon has the member-specification as non-optional.

nathan

--
Nathan Sidwell

Reply via email to