comp.lang.ada
 help / color / mirror / Atom feed
* Bizarre JGNAT things
@ 2001-03-31 22:13 gary_the_fox
  2001-04-01 17:40 ` Andrzej Lewandowski
  0 siblings, 1 reply; 5+ messages in thread
From: gary_the_fox @ 2001-03-31 22:13 UTC (permalink / raw)


Hello!

I've encountered an extremely strange behavior of JGNAT 1.1p, so I'll be very
grateful for any clues about its meaning.
In fact, when compiling an ADS file automatically generated by jvm2ada, I get
error messages like "lang" is not declared in "java" (the same for "io") each
time the compiler encounters identifiers like "java.io.String.Ref". or
"java.io.Serializable". The "with" statements for packages and "with type"
statements don't cause any error messages. The same errors are reported also
when I replace auto-generated "with type" statements by equivalent "with"
ones and turn extensions mode off.
The most bizarre thing is that happens to two files only -
com-sun-java-swing-plaf-motif-MotifLookAndFeel.ads and
com-sun-java-swing-plaf-windows-WindowsLookAndFeel.ads. All other files,
including ones with almost identical structure, compile OK, in the same
directory, with the same settings. The extremely similar
javax-swing-plaf-metal-MetalLookAndFeel.ads compiles OK also.

Do I do anything wrong?

TIA Gary


 -----  Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web  -----
  http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
   NewsOne.Net prohibits users from posting spam.  If this or other posts
made through NewsOne.Net violate posting guidelines, email abuse@newsone.net



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

end of thread, other threads:[~2001-04-05 20:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-31 22:13 Bizarre JGNAT things gary_the_fox
2001-04-01 17:40 ` Andrzej Lewandowski
2001-04-02 12:40   ` Marc A. Criley
2001-04-05  3:49     ` gary_the_fox
2001-04-05 20:34       ` Robert A Duff

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