logo       

Related Msgs: audio.musicbrai...    enbd.general/20...    ietf.idr/2002-0...    java.ant-contri...    gnu.make.genera...    qplus.devel/200...    video.freevo.cv...    os.netbsd.ports...    yellowdog.gener...    xfree86.cvs/200...    search.nutch.us...    freedesktop.xse...    programming.swi...    capabilities.ge...    telephony.pbx.a...    mail.sylpheed.c...    db.firebase.por...    boot-loaders.u-...    recreation.radi...    netbsd.bugs/200...    web.zope.plone....    user-groups.lin...   

RE: Bogus 'Defined but not used' warning: msg#00261

Subject: RE: Bogus 'Defined but not used' warning
I've finally gotten around to fixing this properly.  Done!

Simon

| -----Original Message-----
| From: Sven Panne [mailto:Sven.Panne@xxxxxxxxxxxxxxxxxxxxxxxxxx]
| Sent: 27 December 2002 10:57
| To: cvs-ghc@xxxxxxxxxxx
| Subject: Bogus 'Defined but not used' warning
| 
| Currently GHC issues a bogus warning for code like this
| (a stripped-down version of GLUT.Graphics.UI.GLUT.State):
| 
| -------------------- Foo.hs --------------------
| module Foo ( bar ) where
| 
| bar :: Int -> Int
| bar 0 = 0
| bar n = baz n
| 
| baz :: Int -> Int
| baz n = bar (n - 1)
| ------------------------------------------------
| panne@jeanluc:~> ghc -Wall -c Foo.hs
| 
| Foo.hs:8: Warning: Defined but not used: baz
| ------------------------------------------------
| 
| Nothing serious, but could this be fixed somehow?
| 
| Cheers,
|     S.
| 
| _______________________________________________
| Cvs-ghc mailing list
| Cvs-ghc@xxxxxxxxxxx
| http://www.haskell.org/mailman/listinfo/cvs-ghc



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo