Files
mercury/deep_profiler/Mercury.options
Zoltan Somogyi 41d133b8ad Update the "no export" criteria and message.
compiler/check_module_interface.m:
    Generate a "this module does not export anything" warning for modules
    that contain only single include_module declaration, since such modules
    could be deleted with no effect.

    Change the warning message to list every kind of declaration/definition
    that does not depend on the presence of other kinds of declarations or
    definitions.

deep_profiler/Mercury.options:
    Shut up this warning for mdprof_fb, since right now, it contains
    only a single include_module, even it is designed to later contain more.

tests/invalid/empty_interface.err_exp:
tests/invalid/typeclass_missing_det_3.err_exp:
tests/invalid_nodepend/bigtest.err_exp:
tests/invalid_nodepend/duplicate_modes.err_exp:
tests/invalid_nodepend/errors2.err_exp:
tests/invalid_nodepend/no_exports.err_exp:
tests/invalid_nodepend/prog_io_erroneous.err_exp:
tests/invalid_nodepend/typeclass_test_11.err_exp:
tests/invalid_nodepend/vars_in_wrong_places.err_exp:
    Expect the updated wording of the warning message.
2022-04-05 10:32:10 +10:00

29 lines
1.2 KiB
Plaintext

#-----------------------------------------------------------------------------#
# Copyright (C) 2002, 2005-2006, 2008-2011 The University of Melbourne.
# This file may only be copied under the terms of the GNU General
# Public License - see the file COPYING in the Mercury distribution.
#-----------------------------------------------------------------------------#
# Mercury.options - module-specific flags for Mmake and `mmc --make'.
#-----------------------------------------------------------------------------#
MCFLAGS-array_util = --trace minimum
MCFLAGS-cliques = --trace minimum
MCFLAGS-read_profile = --trace minimum
MCFLAGS-mdprof_fb = --no-warn-nothing-exported
# Uncomment this to debug the automatic parallelism code.
#MCFLAGS-branch_and_bound = \
# --trace-flag=debug_branch_and_bound
#MCFLAGS-mdprof_fb.automatic_parallelism = \
# --trace-flag=debug_cpc_search \
# --trace-flag=debug_recursive_costs \
# --trace-flag=debug_parallel_conjunction_speedup \
# --trace-flag=debug_branch_and_bound
#MCFLAGS-var_use_analysis = \
# --trace-flag=debug_first_var_use
# Uncomment this to see debug messages from the code that reads the Deep.data
# files.
#MCFLAGS-read_profile = --trace-flag debug_read_profdeep