#3253: validate failure (GCC warning)
------------------------+---------------------------------------------------
Reporter:  isaacdupree  |          Owner:          
    Type:  bug          |         Status:  new     
Priority:  normal       |      Component:  Compiler
 Version:  6.11         |       Severity:  normal  
Keywords:               |       Testcase:          
      Os:  Linux        |   Architecture:  x86     
------------------------+---------------------------------------------------
 compiling on Ubuntu "Jaunty" 9.04, bootstrapping HEAD using its packages
 with `env CPUS=2 ./validate`:

 packages:
 {{{
 gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
 The Glorious Glasgow Haskell Compilation System, version 6.8.2
 Happy Version 1.17
 Alex version 2.2
 }}}

 error:
 {{{
 inplace/bin/ghc-stage1 -optc-Werror -optc-Ilibraries/process/include
 -optc-Dbase4
 -optc-I/Users/me/gsoc2009/builds/1/libraries/directory/include
 -optc-I/Users/me/gsoc2009/builds/1/libraries/unix/include
 -optc-I/Users/me/gsoc2009/builds/1/libraries/old-time/include
 -optc-I/Users/me/gsoc2009/builds/1/libraries/base/include
 -optc-I/Users/me/gsoc2009/builds/1/includes
 -optc-I/Users/me/gsoc2009/builds/1/libffi/build/include  -Werror -H64m -O0
 -fasm    -package-name process-1.0.1.1 -hide-all-packages -i
 -ilibraries/process/. -ilibraries/process/dist-install/build
 -ilibraries/process/dist-install/build/autogen -Ilibraries/process/dist-
 install/build -Ilibraries/process/dist-install/build/autogen
 -Ilibraries/process/include  -optP-Dbase4 -optP-include
 -optPlibraries/process/dist-install/build/autogen/cabal_macros.h -package
 base-4.0.0.0 -package directory-1.0.0.2 -package filepath-1.1.0.1 -package
 unix-2.3.1.0  -XCPP -O -fasm -dcore-lint -fno-warn-deprecated-flags    -c
 libraries/process/cbits/runProcess.c -o libraries/process/dist-
 install/build/cbits/runProcess.o
 #[I deleted unrelated stuff here from parallel make / CPUS=2]
 cc1: warnings being treated as errors
 libraries/process/cbits/runProcess.c: In function ‘runInteractiveProcess’:

 libraries/process/cbits/runProcess.c:51:0:
      error: ignoring return value of ‘pipe’, declared with attribute
 warn_unused_result

 libraries/process/cbits/runProcess.c:54:0:
      error: ignoring return value of ‘pipe’, declared with attribute
 warn_unused_result

 libraries/process/cbits/runProcess.c:57:0:
      error: ignoring return value of ‘pipe’, declared with attribute
 warn_unused_result
 }}}

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