mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-17 10:23:46 +00:00
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.
29 lines
1.2 KiB
Plaintext
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
|