[PATCH] silence build warning

wucan wu.canus at gmail.com
Tue Jan 11 06:33:45 PST 2011


On 01/11/2011 10:31 PM, Tiago Vignatti wrote:
> On Tue, Jan 11, 2011 at 12:00:31PM +0800, ext wucan wrote:
>>  From 5ec4fbccc16d2626e212c2bc1fdec51498b15033 Mon Sep 17 00:00:00 2001
>> From: wucan<wu.canus at gmail.com>
>> Date: Tue, 11 Jan 2011 11:45:24 +0800
>> Subject: silence build warning
>>
>> The read()/write()/pipe() is tagged with __warn_unused_result__
> what version of gcc are you using there? I can't see those warnings here with
> 4.4.5.
>
>              Tiago
#gcc -v
Using built-in specs.
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 
4.4.4-14ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.4 --enable-shared --enable-multiarch 
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib 
--enable-nls --with-sysroot=/ --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-objc-gc --enable-targets=all 
--disable-werror --with-arch-32=i686 --with-tune=generic 
--enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu 
--target=i686-linux-gnu
Thread model: posix
gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)

-- 
wucan



More information about the wayland-devel mailing list