From: je@bton.ac.uk (John English)
Subject: Re: Adding a "Project Types" layer to a project
Date: 1996/05/01
Date: 1996-05-01T00:00:00+00:00 [thread overview]
Message-ID: <Dqq5zo.9wK@bton.ac.uk> (raw)
In-Reply-To: 3186E51C.250@post.drexel.edu
Chris Papademetrious (st92j0gw@post.drexel.edu) wrote:
: /home/chrispy/bot > gnatmake test
: gcc -c test.adb
: test.adb:20:20: invalid operand types for operator "+"
: gnatmake: *** compilation failed.
: If I use the type from the package "vectors" directly, it works. If I create a subtype in types, and then use that, it fails. What am I missing? Thanks in
: advance...
You'll have to provide a renaming of "+" in Types, or "with Vectors" and
"use [type] Vectors" in the main program. "+" is in Vectors but not in
Types, so the program doesn't know anything about it.
--
----------------------------------------------------------------------------
John English <je@brighton.ac.uk>, Dept. of Computing, University of Brighton
"Disks are divided into sex and tractors..."
----------------------------------------------------------------------------
next prev parent reply other threads:[~1996-05-01 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-01 0:00 Adding a "Project Types" layer to a project Chris Papademetrious
1996-05-01 0:00 ` Robert A Duff
1996-05-01 0:00 ` John English [this message]
1996-05-02 0:00 ` Chad Bremmon
1996-05-06 0:00 ` Chris Papademetrious
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox