[M3commit] [modula3/cm3] 430960: Squench (all but one) compile warnings in libunico...

GitHub noreply at github.com
Fri Aug 26 18:36:31 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/modula3/cm3
  Commit: 430960feba166755752ac37581ff499b290f9160
      https://github.com/modula3/cm3/commit/430960feba166755752ac37581ff499b290f9160
  Author: Rodney Bates <rodney.m.bates at acm.org>
  Date:   2016-08-26 (Fri, 26 Aug 2016)

  Changed paths:
    M m3-libs/libunicode/src/UniCodec.i3
    M m3-libs/libunicode/src/UniCodec.m3
    M m3-libs/libunicode/src/UniRdClass.i3
    M m3-libs/libunicode/src/UnsafeUniCodec.m3
    M m3-libs/libunicode/src/UnsafeUniRd.m3
    M m3-libs/libunicode/src/UnsafeUniWr.m3

  Log Message:
  -----------
  Squench (all but one) compile warnings in libunicode package.

There is one warning remaining, in UnsafeUniWr.m3 that cannot be
removed without having a praqma like:

<* FATAL ANY EXCEPT Range , Failure , Alerted *>

This happens in various places when a general traverser procedure has
a nonempty RAISES set of its own, but also takes a callback procedure
as a parameter.  The latter has to have a formal type with RAISES ANY,
for the traverser to be useable in general.




More information about the M3commit mailing list