#1796: Build fails under OS X: Hpc.c:191:0:  error: conflicting types for
'hs_hpc_module'
---------------------------+------------------------------------------------
  Reporter:  guest         |          Owner:            
      Type:  bug           |         Status:  new       
  Priority:  normal        |      Milestone:  6.8 branch
 Component:  Build System  |        Version:  6.6.1     
  Severity:  blocker       |       Keywords:            
Difficulty:  Unknown       |             Os:  MacOS X   
  Testcase:                |   Architecture:  x86       
---------------------------+------------------------------------------------
 Have a log:

 ../compiler/ghc-inplace -optc-O -optc-Wall -optc-W -optc-Wstrict-
 prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-
 Winline -optc-Waggregate-return -optc-I../includes -optc-I. -optc-
 Iparallel -optc-Ism -optc-DCOMPILING_RTS -optc-fomit-frame-pointer
 -optc-I../gmp/gmpbuild -optc-fno-strict-aliasing -H16m -O -optc-O2
 -I../includes -I. -Iparallel -Ism -DCOMPILING_RTS -package-name rts
 -static -I../gmp/gmpbuild -I. -#include HCIncludes.h -dcmm-lint     -c
 Hpc.c -o Hpc.o
 ../compiler/ghc-inplace -optc-O -optc-Wall -optc-W -optc-Wstrict-
 prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-
 Winline -optc-Waggregate-return -optc-I../includes -optc-I. -optc-
 Iparallel -optc-Ism -optc-DCOMPILING_RTS -optc-fomit-frame-pointer
 -optc-I../gmp/gmpbuild -optc-fno-strict-aliasing -H16m -O -optc-O2
 -I../includes -I. -Iparallel -Ism -DCOMPILING_RTS -package-name rts
 -static -I../gmp/gmpbuild -I. -#include HCIncludes.h -dcmm-lint     -c
 HsFFI.c -o HsFFI.o

 Hpc.c:191:0:  error: conflicting types for 'hs_hpc_module'

 ../includes/RtsExternal.h:76:0:
      error: previous declaration of 'hs_hpc_module' was here
 Hpc.c: In function 'writeTix':

 Hpc.c:288:0:
      warning: format '%u' expects type 'unsigned int', but argument 4 has
 type 'StgWord32'

 Hpc.c:288:0:
      warning: format '%u' expects type 'unsigned int', but argument 5 has
 type 'StgWord32'
 make[1]: *** [Hpc.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 make: *** [stage1] Error 1

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1796>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to