https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118219

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
            Summary|Weird error: type of a      |error on component of CPP
                   |component cannot be         |type declared without
                   |abstract.                   |constructor
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ebotcazou at gcc dot gnu.org

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> The error is issued only with the type integral_constant2 which has aspects
> Import => True, Convention => CPP.
> Is it correct to issue an error in this case?

Yes, you need to define a constructor for import CPP types.

Reply via email to