[m-users.] Issues when upgrading from 2019-07-18 to 2019-10-16

Julien Fischer jfischer at opturion.com
Fri Oct 18 17:13:43 AEDT 2019


Hi,

On Thu, 17 Oct 2019, M McDonough wrote:

>> I am open to feedback as to whether it would be worthwhile to add an option
>> to stop the generation of the interface file only for errors, and not for warnings.
>> Note that such an option would be useful only for projects that do *not* intend
>> to fix warnings.
>
> Ohhh...I see. So I should have been doing these imports in the
> implementation rather than the interface all along.

Doing so may result in warnings about the module not exporting anything
;-)

Generally, when I have a top-level module acting as a package, I have
something like the following in my Mercury.options file:

     MCFLAGS-pkg = --no-warn-nothing-exported --no-warn-interface-imports

Julien.


More information about the users mailing list