https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
--- Comment #18 from GCC Commits ---
The trunk branch has been updated by Marek Polacek :
https://gcc.gnu.org/g:0b3eac4b54a52bf206b88743d1e987badc97cff4
commit r15-522-g0b3eac4b54a52bf206b88743d1e987badc97cff4
Author: Marek Polacek
Date: Mo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
--- Comment #17 from Marek Polacek ---
Partially fixed for GCC 14. Leaving this open for more changes in GCC 15.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
--- Comment #16 from GCC Commits ---
The trunk branch has been updated by Marek Polacek :
https://gcc.gnu.org/g:6fec511f2d23cc70ab29d1ba79c2415ab51bcb60
commit r14-8967-g6fec511f2d23cc70ab29d1ba79c2415ab51bcb60
Author: Marek Polacek
Date: T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
Marek Polacek changed:
What|Removed |Added
Keywords||patch
--- Comment #15 from Marek Polace
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
--- Comment #14 from Marek Polacek ---
My current patch appears to handle that correctly:
$ ./cc1plus -quiet q.C -pedantic-errors -std=c++98 -Wno-error=extra-semi
q.C:3:3: warning: extra ‘;’ outside of a function only allowed in C++11
[-Wextra-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
--- Comment #13 from Harald van Dijk ---
(In reply to Marek Polacek from comment #12)
> Thank for your comment. In the end I went with
>
> -std=c++03 -pedantic-errors -Wextra-semi -> warnings
> -std=c++03 -pedantic -Wextra-semi -> warnings (no
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
--- Comment #12 from Marek Polacek ---
Thank for your comment. In the end I went with
-std=c++03 -pedantic-errors -Wextra-semi -> warnings
-std=c++03 -pedantic -Wextra-semi -> warnings (not pedwarn)
based on the principle that a more specific
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
Harald van Dijk changed:
What|Removed |Added
CC||harald at gigawatt dot nl
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
--- Comment #10 from Marek Polacek ---
And we should also warn in C++98 with -Wc++11-extensions for an extra ';'
outside of a function I suppose...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
Marek Polacek changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
--- Comment #9 from Marek Polacek ---
And:
-pedantic-errors -> errors only in C++03
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
--- Comment #8 from Marek Polacek ---
(In reply to Jakub Jelinek from comment #7)
> g++ emits 4 errors on
> struct S
> {
> void foo () {}
> void bar () {};
> void baz () = delete;
> void qux () = delete;
> ;
> void corge () = delete;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
Jonathan Wakely changed:
What|Removed |Added
Summary|gcc rejects valid |[DR1693] gcc rejects valid
15 matches
Mail list logo