FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

LinkBack Thread Tools
Old 11-02-2011, 03:27 PM
Cajus Pollmeier
Default Bug#647425: g++-4.6: warn_unused_result error triggerd even if casted

Package: g++-4.6
Version: 4.6.2-3
Severity: normal

Dear Maintainer,

while preparing the next upload for the qpid package, I've stumbled

a changed behaviour in handling unused results.

The code that is rising errors:

(void) ::lockf(f, F_ULOCK, 0);

If I change it to some construct like:

size_t foo;
foo = ::lockf(f, F_ULOCK, 0);

works, but is a bit hackish.

The complete build log can be found at:


-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages g++-4.6 depends on:
ii gcc-4.6 4.6.2-3
ii gcc-4.6-base 4.6.2-3
ii libc6 2.13-21
ii libgmp10 2:5.0.2+dfsg-2
ii libmpc2 0.9-4
ii libmpfr4 3.1.0-2
ii libstdc++6-4.6-dev 4.6.2-3
ii zlib1g 1:

g++-4.6 recommends no packages.

To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4564f952da7e5e279d065e9055d665a4@ferdi.naasa.net"> http://lists.debian.org/4564f952da7e5e279d065e9055d665a4@ferdi.naasa.net

Thread Tools

All times are GMT. The time now is 12:24 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org