[m-rev.] mention --warn-dead-procs in NEWS file

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Aug 18 01:56:10 AEST 2003


Estimated hours taken: 0.25
Branches: main

NEWS:
	Document the new `--warn-dead-procs' option.

Workspace: /home/ceres/fjh/mercury
Index: NEWS
===================================================================
RCS file: /home/mercury1/repository/mercury/NEWS,v
retrieving revision 1.317
diff -u -d -r1.317 NEWS
--- NEWS	6 Aug 2003 12:38:02 -0000	1.317
+++ NEWS	17 Aug 2003 15:55:17 -0000
@@ -18,6 +18,8 @@
 * Better support for incremental program development:
   there's two new compiler options, `--allow-stubs' and `--no-warn-stubs',
   to support execution of incomplete programs.
+* There's a new warning option `--warn-dead-procs' for detecting unreachable
+  code.
 * It's now easier to use shared libraries on Linux/x86 systems
   with `mmc --make'.
 
@@ -196,6 +198,13 @@
 * Nothing yet.
 
 Changes to the Mercury compiler:
+
+* There's a new warning option `--warn-dead-procs' which can be used
+  for detecting unreachable code.
+
+  This is not yet enabled by default, because it can cause some spurious
+  warnings in modules containing code which mixes Mercury clauses and
+  `pragma foreign_proc' declarations for the same procedure.
 
 * `mmc --make' now works correctly with Microsoft Visual C++.
 

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list