[Bug c/25880] improve message of warning for discarding qualifiers

2010-09-08 Thread rmansfield at qnx dot com
--- Comment #5 from rmansfield at qnx dot com 2010-09-08 23:05 --- The changes done in pp_c_cv_qualifiers print ‘__attribute__((const))’ or '__attribute__((noreturn))' for function pointer even if they are defined with 'const' or 'volatile' in the users code and this may be confusing

[Bug c/25880] improve message of warning for discarding qualifiers

2010-09-08 Thread manu at gcc dot gnu dot org
--- Comment #6 from manu at gcc dot gnu dot org 2010-09-08 23:33 --- (In reply to comment #5) The changes done in pp_c_cv_qualifiers print �__attribute__((const))� or '__attribute__((noreturn))' for function pointer even if they are defined with 'const' or 'volatile' in the

[Bug c/25880] improve message of warning for discarding qualifiers

2010-06-04 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2010-06-04 15:16 --- Subject: Bug 25880 Author: manu Date: Fri Jun 4 15:15:38 2010 New Revision: 160274 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=160274 Log: 2010-06-04 Manuel López-Ibáñez m...@gcc.gnu.org PR

[Bug c/25880] improve message of warning for discarding qualifiers

2010-06-04 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2010-06-04 15:21 --- The infrastructure to enable this has been added in GCC 4.6 and some diagnostics are already making use of it, in particular the one reported here. So I consider this FIXED. If anyone finds particular diagnostics