Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260185 - app-misc/beanstalkd-1.0 error: ignoring return value of 'chdir', declared with attribute warn_unused_result
Summary: app-misc/beanstalkd-1.0 error: ignoring return value of 'chdir', declared wit...
Status: RESOLVED DUPLICATE of bug 259013
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: fortify-source
  Show dependency tree
 
Reported: 2009-02-24 21:24 UTC by Magnus Granberg
Modified: 2009-02-24 21:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log of beanstalkd-1.0 (app-misc_beanstalkd-1.0.log,1.90 KB, text/plain)
2009-02-24 21:24 UTC, Magnus Granberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Granberg gentoo-dev 2009-02-24 21:24:06 UTC
Compile with GCC 4.3.3 and glibc >=2.8 (FORTIFY_SOURCE=2)
Compiler hit a warning about ignoring return value of 'chdir', declared with attribute warn_unused_result
but warnings is being treated as errors.


Reproducible: Always

Steps to Reproduce:
1.Compile tha package with gcc 4.3.3 and glibc >=2.8 from portage
2.
3.

Actual Results:  
cc -O2 -pipe -Wall -Werror -O2   -c -o tube.o tube.c
cc1: warnings being treated as errors
beanstalkd.c: In function 'daemonize':
beanstalkd.c:64: error: ignoring return value of 'chdir', declared with attribute warn_unused_result
make: *** [beanstalkd.o] Error 1

Expected Results:  
Would compile fine.
Comment 1 Magnus Granberg gentoo-dev 2009-02-24 21:24:55 UTC
Created attachment 183077 [details]
Build log of beanstalkd-1.0
Comment 2 Magnus Granberg gentoo-dev 2009-02-24 21:29:58 UTC

*** This bug has been marked as a duplicate of bug 259013 ***