[Bug c++/40614] no -Werror= for attribute warn_unused_result

2009-07-10 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2009-07-10 07:27 --- Subject: Bug 40614 Author: manu Date: Fri Jul 10 07:27:32 2009 New Revision: 149458 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=149458 Log: 2009-07-10 Manuel López-Ibáñez m...@gcc.gnu.org PR

[Bug c++/40614] no -Werror= for attribute warn_unused_result

2009-07-10 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2009-07-10 07:29 --- FIXED in GCC 4.5 -- manu at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c++/40614] no -Werror= for attribute warn_unused_result

2009-07-02 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-07-02 11:33 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/40614] no -Werror= for attribute warn_unused_result

2009-07-02 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2009-07-02 23:41 --- We can add an option Wunused-result that controls the warnings. Wno-unused-result and -Werror=unused-result will then work as expected. Index: gcc/c-common.c