This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add a warning for invalid function casts
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Bernd Edlinger <bernd dot edlinger at hotmail dot de>
- Cc: Martin Sebor <msebor at gmail dot com>, Jeff Law <law at redhat dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Jason Merrill <jason at redhat dot com>
- Date: Fri, 3 Nov 2017 21:46:56 +0000
- Subject: Re: [PATCH] Add a warning for invalid function casts
- Authentication-results: sourceware.org; auth=none
- References: <AM5PR0701MB265700BCFDF7620223717DCCE4720@AM5PR0701MB2657.eurprd07.prod.outlook.com> <1644e85e-6d3a-a114-32b5-a9b49de24407@gmail.com> <AM5PR0701MB2657ABAE3C4B6BC3EF64F923E4710@AM5PR0701MB2657.eurprd07.prod.outlook.com> <72167c17-48f5-d5d6-d9cd-87004e3c1d11@gmail.com> <f22cfd49-127e-e1d4-442e-e619807511f6@redhat.com> <476f5e91-3768-ef69-331a-ce0c00d38277@hotmail.de> <6f4b4385-52af-6b41-14bf-7e0a06895a8f@hotmail.de> <43dcb212-0c40-f55c-61a0-84a5c149695e@gmail.com> <AM5PR0701MB2657697940DE7A81A479CF20E4740@AM5PR0701MB2657.eurprd07.prod.outlook.com> <4abe4931-7cee-81d2-1019-6834006d396e@gmail.com> <AM5PR0701MB265758B1D2D4F227716BA923E4740@AM5PR0701MB2657.eurprd07.prod.outlook.com>
On Mon, 9 Oct 2017, Bernd Edlinger wrote:
> +type @code{void (*) (void);} is special and matches everything, which can
The type name should not include ";".
The non-C++ parts of the patch are OK with that change.
--
Joseph S. Myers
joseph@codesourcery.com