[Bug 305176] Re: [PR25509] can't disable __attribute__((warn_unused_result))

2018-08-18 Thread Bug Watch Updater
ute__((warn_unused_result)) To manage notifications about this bug go to: https://bugs.launchpad.net/glibc/+bug/305176/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 305176]

2018-08-18 Thread Manu-gcc
tle: [PR25509] can't disable __attribute__((warn_unused_result)) To manage notifications about this bug go to: https://bugs.launchpad.net/glibc/+bug/305176/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 305176]

2018-08-18 Thread Filbranden-m
6 Title: [PR25509] can't disable __attribute__((warn_unused_result)) To manage notifications about this bug go to: https://bugs.launchpad.net/glibc/+bug/305176/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 305176]

2018-08-18 Thread Filbranden-m
member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/305176 Title: [PR25509] can't disable __attribute__((warn_unused_result)) To manage notifications about this bug go to: https://bugs.launchpad.net/glibc/+bug/305176/+subscriptions -- ubuntu-bugs mailing

[Bug 305176]

2018-08-18 Thread Manu-gcc
arn_unused_result)) To manage notifications about this bug go to: https://bugs.launchpad.net/glibc/+bug/305176/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 305176]

2018-08-18 Thread Manu-gcc
] can't disable __attribute__((warn_unused_result)) To manage notifications about this bug go to: https://bugs.launchpad.net/glibc/+bug/305176/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 305176] Re: [PR25509] can't disable __attribute__((warn_unused_result))

2015-03-14 Thread Adam Conrad
305176 Title: [PR25509] can't disable __attribute__((warn_unused_result)) To manage notifications about this bug go to: https://bugs.launchpad.net/glibc/+bug/305176/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 305176]

2014-08-15 Thread Manu-gcc
to Ubuntu. https://bugs.launchpad.net/bugs/305176 Title: [PR25509] can't disable __attribute__((warn_unused_result)) To manage notifications about this bug go to: https://bugs.launchpad.net/glibc/+bug/305176/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubunt

[Bug 305176]

2014-08-15 Thread Manu-gcc
number for this). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/305176 Title: [PR25509] can't disable __attribute__((warn_unused_result)) To manage notifications about this bug go to: https://bu

[Bug 305176]

2014-08-13 Thread Ppluzhnikov-google
bed to Ubuntu. https://bugs.launchpad.net/bugs/305176 Title: [PR25509] can't disable __attribute__((warn_unused_result)) To manage notifications about this bug go to: https://bugs.launchpad.net/glibc/+bug/305176/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ub

[Bug 305176] Re: [PR25509] can't disable __attribute__((warn_unused_result))

2011-01-25 Thread Bug Watch Updater
ult)); int main() { (void) foo(); return 0; } === Cut === g++ -Wall -W -O2 -c unused.cc unused.cc: In function 'int main()': unused.cc:4: warning: ignoring return value of 'int foo()', declared with attribute warn_unused_result Reply at: https://bugs.launchpad.ne

[Bug 305176] Re: [PR25509] can't disable __attribute__((warn_unused_result))

2009-07-30 Thread Launchpad Bug Tracker
** Branch linked: lp:debian/sid/gnat-4.4 -- [PR25509] can't disable __attribute__((warn_unused_result)) https://bugs.launchpad.net/bugs/305176 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists

[Bug 305176] Re: [PR25509] can't disable __attribute__((warn_unused_result))

2009-07-10 Thread Bug Watch Updater
** Changed in: glibc Status: Confirmed => Fix Released -- [PR25509] can't disable __attribute__((warn_unused_result)) https://bugs.launchpad.net/bugs/305176 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing l

[Bug 305176] Re: [PR25509] can't disable __attribute__((warn_unused_result))

2009-01-28 Thread Colin Watson
As I said in the edited bug description, -U_FORTIFY_SOURCE works too. -- [PR25509] can't disable __attribute__((warn_unused_result)) https://bugs.launchpad.net/bugs/305176 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs m

[Bug 305176] Re: [PR25509] can't disable __attribute__((warn_unused_result))

2009-01-28 Thread DaveAbrahams
It is possible to turn off this warning! Just turn off all optimizations :( If you pass -O0, this program doesn't warn. If you pass -O1 or -O2, ... the program warns. This is especially bad for things that used to build with -Wall. -- [PR25509] can't disable __attribute__((warn_unused_result)

Re: [Bug 305176] Re: [PR25509] can't disable __attribute__((warn_unused_result))

2009-01-21 Thread tz
On Wed, Jan 21, 2009 at 8:11 AM, Colin Watson wrote: > I agree that this warning is sometimes excessive and inconvenient, > particularly for logging writes which are, as you put it, "fire and > forget". > > Notwithstanding that, though, I would note that it *is* good practice to > check non-loggin

[Bug 305176] Re: [PR25509] can't disable __attribute__((warn_unused_result))

2009-01-21 Thread Colin Watson
I agree that this warning is sometimes excessive and inconvenient, particularly for logging writes which are, as you put it, "fire and forget". Notwithstanding that, though, I would note that it *is* good practice to check non-logging writes. Contrary to popular belief, write() is not guaranteed t

[Bug 305176] Re: [PR25509] can't disable __attribute__((warn_unused_result))

2008-12-04 Thread Kees Cook
While this doesn't solve the issue of needing a "-Wno-warn-unused- result", or the lack of warnings on fprintf, it may help to disable the pre-processor option causing the warnings to be used (-D_FORTIFY_SOURCE=2). If you want to risk losing the other compile- time and run-time protections, you ca

[Bug 305176] Re: [PR25509] can't disable __attribute__((warn_unused_result))

2008-12-04 Thread Bug Watch Updater
** Changed in: glibc Status: Unknown => Confirmed -- [PR25509] can't disable __attribute__((warn_unused_result)) https://bugs.launchpad.net/bugs/305176 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list u

[Bug 305176] Re: GCC 4.3 in Intrepid has pages of new warnings

2008-12-04 Thread Matthias Klose
** Also affects: glibc (Ubuntu) Importance: Undecided Status: New ** Bug watch added: GCC Bugzilla #25509 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509 ** Also affects: glibc via http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509 Importance: Unknown Status: Unknown *

[Bug 305176] [NEW] GCC 4.3 in Intrepid has pages of new warnings

2008-12-04 Thread tz
Public bug reported: Binary package hint: gcc This might be in one of the libs, but the problem is fundamentally in gcc. There is a recent attribute (warn_unused_result) that has been applied to nearly every function that isn't declared a void. This includes things like write and fwrite (and ev