[Hackage] #186: Compiling Paths_<Application> with -Wall produces warnings

Hackage trac at galois.com
Fri Dec 7 11:50:46 EST 2007


#186: Compiling Paths_<Application> with -Wall produces warnings
---------------------+------------------------------------------------------
  Reporter:  guest   |        Owner:       
      Type:  defect  |       Status:  new  
  Priority:  low     |    Milestone:       
 Component:  Cabal   |      Version:       
  Severity:  minor   |     Keywords:       
Difficulty:  normal  |   Ghcversion:  6.6.1
  Platform:  Linux   |  
---------------------+------------------------------------------------------
 The autogenerated file dist/build/autogen/Paths_<Applicacion>.hs produces
 type signature warnings if we use -Wall compiler option.

 Example of output:

 [1 of 5] Compiling Paths_hsCalc     ( dist/build/autogen/Paths_hsCalc.hs,
 dist/build/hscalc/hscalc-tmp/Paths_hsCalc.o )

 dist/build/autogen/Paths_hsCalc.hs:9:0:
     Warning: Definition but no type signature for `version'

 dist/build/autogen/Paths_hsCalc.hs:11:0:
     Warning: Definition but no type signature for `bindir'

 dist/build/autogen/Paths_hsCalc.hs:12:0:
     Warning: Definition but no type signature for `libdir'

 dist/build/autogen/Paths_hsCalc.hs:13:0:
     Warning: Definition but no type signature for `datadir'

 dist/build/autogen/Paths_hsCalc.hs:14:0:
     Warning: Definition but no type signature for `libexecdir'
 Linking dist/build/hscalc/hscalc ...

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/186>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list