#3253: validate failure (GCC warning)
----------------------------------+-----------------------------------------
    Reporter:  isaacdupree        |        Owner:  simonmar
        Type:  bug                |       Status:  reopened
    Priority:  normal             |    Milestone:  6.12.1  
   Component:  libraries/process  |      Version:  6.11    
    Severity:  normal             |   Resolution:          
    Keywords:                     |   Difficulty:  Unknown 
    Testcase:                     |           Os:  Linux   
Architecture:  x86                |  
----------------------------------+-----------------------------------------
Changes (by isaacdupree):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 :-( I pulled those changes, and now I'm getting another validate-fail-due-
 to-GCC-warning
 {{{
 depbase=`echo src/closures.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
         /bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
 -I.  -I. -I./include -Iinclude -I./src  -Wall -g -fexceptions -O -g -O2
 -Werror -MT src/closures.lo -MD -MP -MF $depbase.Tpo -c -o src/closures.lo
 src/closures.c &&\
         mv -f $depbase.Tpo $depbase.Plo
  gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g
 -fexceptions -O -g -O2 -Werror -MT src/closures.lo -MD -MP -MF
 src/.deps/closures.Tpo -c src/closures.c -o src/closures.o
 cc1: warnings being treated as errors
 src/closures.c: In function ‘dlmmap_locked’:
 src/closures.c:383: error: ignoring return value of ‘ftruncate’, declared
 with attribute warn_unused_result
 src/closures.c:395: error: ignoring return value of ‘ftruncate’, declared
 with attribute warn_unused_result
 make[4]: *** [src/closures.lo] Error 1
 make[4]: Leaving directory `/Users/me/gsoc2009/builds/2/libffi/build'
 }}}
 is there any way I can be more helpful in case there are more of these?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3253#comment:3>
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