comp.lang.ada
 help / color / mirror / Atom feed
From: Anh Vo <anhvofrcaus@gmail.com>
Subject: Re: Package  ads/adb conformity
Date: Wed, 3 Jan 2018 14:44:42 -0800 (PST)
Date: 2018-01-03T14:44:42-08:00	[thread overview]
Message-ID: <a0f2b19c-d021-4fb4-a1a4-8b9a2e23b773@googlegroups.com> (raw)
In-Reply-To: <402bff13-f508-4756-9abd-a4f5e2f5bfe0@googlegroups.com>

On Wednesday, January 3, 2018 at 2:23:32 PM UTC-8, Mace Ayres wrote:
> I have a package named 'grids.' To my eyes the declaration in the grids.ads for a type a_state (enumeration..)
> seems identical with the body's type a_state. But, the compiler complains of not type conformant with declaration in grids.adb in the body grids.adb:
> 

It may complain about subprogram profile mismatched/missing. In addition, the type a_state must not repeated. In other word, it must be unique within the package specification and package body.

Anh Vo

  reply	other threads:[~2018-01-03 22:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-03 22:23 Package ads/adb conformity Mace Ayres
2018-01-03 22:44 ` Anh Vo [this message]
2018-01-04  3:26 ` Mace Ayres
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox