Hi,
I just stumbled over the patch
2007-03-26 Dirk Mueller <[EMAIL PROTECTED]>
* parser.c (cp_parser_member_declaration): Pedwarn
about stray semicolons after member declarations.
which was approved by Gaby here:
http://gcc.gnu.org/ml/gcc-patches/2007-03/msg01456.html
and made i
Volker Reichelt wrote:
> 2007-03-26 Dirk Mueller <[EMAIL PROTECTED]>
>
>* parser.c (cp_parser_member_declaration): Pedwarn
>about stray semicolons after member declarations.
>
> It makes
>
> struct A
> {
> void foo() {};
> }
That is indeed still legal in the curre
On Tuesday, 31. July 2007, Volker Reichelt wrote:
> Therefore, IMHO the patch is wrong and should be reverted.
> Or am I missing something?
I don't have access to a newer version of the language standard either. I
couldn't find a different case that is comparable to this one either (for
example
On 01/08/07, Dirk Mueller <[EMAIL PROTECTED]> wrote:
> On Tuesday, 31. July 2007, Volker Reichelt wrote:
>
> So, assuming that this hasn't changed in a newer standard then I guess you're
> right and the check should only be a warning with -pedantic, (and
> no -pedantic-errors) given. This is howeve
On Wed, 1 Aug 2007, Mark Mitchell wrote:
| Volker Reichelt wrote:
|
| > 2007-03-26 Dirk Mueller <[EMAIL PROTECTED]>
| >
| >* parser.c (cp_parser_member_declaration): Pedwarn
| >about stray semicolons after member declarations.
| >
|
| > It makes
| >
| > struct A
| > {
|