comp.lang.ada
 help / color / mirror / Atom feed
* Gnat Error: intrinsic operator can only apply to numeric types
@ 2004-06-15 12:47 Marin David Condic
  2004-06-15 13:12 ` Frank J. Lhota
  2004-06-15 18:56 ` Jeffrey Carter
  0 siblings, 2 replies; 18+ messages in thread
From: Marin David Condic @ 2004-06-15 12:47 UTC (permalink / raw)


In using Gnat 3.15p on Windows with GPS v1.4.0, I encountered a problem 
when trying to use the package System. I get a compiler error message 
that reads "intrinsic operator can only apply to numeric types" in 
reference to the following code in System:

   function "<"  (Left, Right : Address) return Boolean;
    function "<=" (Left, Right : Address) return Boolean;
    function ">"  (Left, Right : Address) return Boolean;
    function ">=" (Left, Right : Address) return Boolean;
    function "="  (Left, Right : Address) return Boolean;

    pragma Import (Intrinsic, "<");
    pragma Import (Intrinsic, "<=");
    pragma Import (Intrinsic, ">");
    pragma Import (Intrinsic, ">=");
    pragma Import (Intrinsic, "=");

Commenting out the pragmas get you past this, but then, of course, 
everything in the Gnat side that depended on System is officially out of 
date. This seems unacceptable as a fix.

Has anyone else encountered this? Is there a fix or workaround?

MDC

-- 
======================================================================
Marin David Condic
I work for: http://www.belcan.com/
My project is: http://www.jsf.mil/NSFrames.htm

Send Replies To: m   o   d   c @ a   m   o   g
                    c   n   i       c   .   r

     "Face it ladies, its not the dress that makes you look fat.
     Its the FAT that makes you look fat."

         --  Al Bundy

======================================================================




^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2004-06-20  0:29 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-15 12:47 Gnat Error: intrinsic operator can only apply to numeric types Marin David Condic
2004-06-15 13:12 ` Frank J. Lhota
2004-06-15 18:56 ` Jeffrey Carter
2004-06-15 19:16   ` Martin Dowie
2004-06-15 22:25     ` Marin David Condic
2004-06-16  5:59       ` Martin Krischik
2004-06-16 12:01         ` Marin David Condic
2004-06-16  7:43       ` Martin Dowie
2004-06-16 12:10         ` Marin David Condic
2004-06-16 19:29           ` Simon Wright
2004-06-17 12:15             ` Marin David Condic
2004-06-18  7:41               ` Martin Dowie
2004-06-18 11:51                 ` Marin David Condic
2004-06-18 13:14                   ` Martin Dowie
2004-06-19  8:29                     ` Marin David Condic
2004-06-19 10:07                       ` Martin Dowie
2004-06-20  0:29                   ` Pylinius
2004-06-15 22:22   ` Marin David Condic

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