[m-rev.] trivial diff: explain -Wno-unused

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Jul 26 11:08:22 AEST 2004


Estimated hours taken: 0.25
Branches: main

scripts/mgnuc.in:
	Add a comment about why we don't use -Wunused.

Workspace: /home/jupiter/fjh/ws-jupiter/mercury
Index: scripts/mgnuc.in
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/mgnuc.in,v
retrieving revision 1.99
diff -u -d -r1.99 mgnuc.in
--- scripts/mgnuc.in	20 Oct 2003 07:29:36 -0000	1.99
+++ scripts/mgnuc.in	12 Nov 2003 13:07:18 -0000
@@ -49,7 +49,8 @@
 #              		we don't care about compatibility with C compilers
 #			that have short fixed limits on identifier length
 # -Wenum-clash 		is for C++ only
-# -Wunused		causes various spurious warnings
+# -Wunused		causes various spurious warnings,
+#			e.g. about labels which are used only in some grades
 
 	OPT_OPTS="-O2 -fomit-frame-pointer"
 	DEBUG_OPT="-g"

-- 
Fergus Henderson                    |  "I have always known that the pursuit
                                    |  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