From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fb4dd933ef563a8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-08 08:54:08 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feeder.via.net!cyclone-sf.pbi.net!151.164.30.35!cyclone.swbell.net!bos-service1.ext.raytheon.com!bos-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3D29AF4E.16AFB384@despammed.com> From: Wes Groleau Reply-To: wesgroleau@despammed.com X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,es-MX,es,pt,fr-CA,fr MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: When/Why can a compiler reject an operator but accept a name? References: <3D25D271.ACE6DAC8@despammed.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 08 Jul 2002 10:27:10 -0500 NNTP-Posting-Host: 151.168.144.162 X-Complaints-To: news@ext.ray.com X-Trace: bos-service2.ext.raytheon.com 1026142063 151.168.144.162 (Mon, 08 Jul 2002 11:27:43 EDT) NNTP-Posting-Date: Mon, 08 Jul 2002 11:27:43 EDT Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:26941 Date: 2002-07-08T10:27:10-05:00 List-Id: > So what I think is happening is that you're instanciating G with a > type that has an intrinsic "<" operator. For example, if you use > Integer, in your P procedure you must write a customized "<" operator > like: I hadn't thought of that--good point. However, the generic never uses ">" nor has it as a parameter. And the type "Item" is an access type. So I don't think that's it in this case. I reported it as a bug to the vendor, but I'm still not 100% certain. -- Wes Groleau http://freepages.rootsweb.com/~wgroleau