This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v3] warning about const multidimensional array as function parameter
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Martin Uecker <uecker at eecs dot berkeley dot edu>
- Cc: gcc Mailing List <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 6 Nov 2014 23:40:32 +0000
- Subject: Re: [PATCH v3] warning about const multidimensional array as function parameter
- Authentication-results: sourceware.org; auth=none
- References: <20141025123245 dot 4ed09551 at lemur> <Pine dot LNX dot 4 dot 64 dot 1410271254470 dot 13536 at digraph dot polyomino dot org dot uk> <20141028231040 dot 38b1cbc0 at lemur> <Pine dot LNX dot 4 dot 64 dot 1410291623450 dot 21975 at digraph dot polyomino dot org dot uk> <20141106101820 dot 22ee3429 at lemur>
On Thu, 6 Nov 2014, Martin Uecker wrote:
> This patch implements a new proposed behaviour for
> pointers to arrays with qualifiers in C.
>
> I found some time to work on this again, so here is another
> revision. Main changes to the previous version of the patch:
>
> - add more test cases for cast from/to (const) void*
> - correctly uses pedwarn/warning_at
Thanks. I'll review this in more detail later, but I suspect it's quite
close to being ready to go in once the paperwork has been processed.
--
Joseph S. Myers
joseph@codesourcery.com