[comp.sys.amiga] TDI Modula-2 owners ***ALERT***

dan-hankins@cup.portal.com (Daniel B Hankins) (04/27/89)

     Several months ago, some owners of TDI's Modula-2 package received a free
upgrade to version 3.01a.  It promised to correct some bugs in the Amiga
library interfaces.

     *** Do not use the included compiler ***

     The 3.01a compiler introduces *no* new function over the 3.00a compiler,
and has several bugs that the earlier version does not.  For instance, the
return code from the new compiler is always 57000+x, where x is the return
code you _should_ have gotten.

     Another bug is in its handling of opaque types.  If, in your definition
module, you declare an opaque type and several procedures that use it, then
when you attempt to compile the corresponding implementation module, the
compiler will complain that the implementation versions of the procedures do
not match their definition module counterparts.  It also will not allow an
opaque type to be implemented as type ADDRESS (not that it matters, since
you can't do anything with it anyway).

     I solved the problem by using all the parts of the 3.01a distribution
except the compiler itself.  I replaced the compiler with the earlier version,
and things seem to work okay now.

     I can't say whether or not they fixed all the incorrect library interface
routines;  my code hasn't required anything besides standard input and
output.

     Good Luck!


Dan Hankins

"The bureaucracy is expanding to meet the needs of an expanding bureaucracy."