https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
--- Comment #13 from Jonathan Wakely ---
It's so crazy, it just might work.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
Harald van Dijk changed:
What|Removed |Added
CC||harald at gigawatt dot nl
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
Jonathan Wakely changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
Jonathan Wakely changed:
What|Removed |Added
Status|ASSIGNED|NEW
Assignee|redi at gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
DB changed:
What|Removed |Added
CC||db0451 at gmail dot com
--- Comment #10 from DB
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
--- Comment #9 from Matthew Woehlke mw_triad at users dot sourceforge.net ---
(In reply to Jonathan Wakely from comment #8)
No, really, that's not how make_unique works. You do not use 'new' with
make_unique, that's the whole point [...]
D'oh,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
--- Comment #6 from Jonathan Wakely redi at gcc dot gnu.org ---
(In reply to Matthew Woehlke from comment #5)
Actually, this may be required for 'make_uniqueA(new B)' to warn, since
That's not how make_unique works.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
--- Comment #7 from Matthew Woehlke mw_triad at users dot sourceforge.net ---
(In reply to Jonathan Wakely from comment #6)
(In reply to Matthew Woehlke from comment #5)
Actually, this may be required for 'make_uniqueA(new B)' to warn, since
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
--- Comment #8 from Jonathan Wakely redi at gcc dot gnu.org ---
No, really, that's not how make_unique works. You do not use 'new' with
make_unique, that's the whole point, so you would say make_uniqueB() to
create a B. Your motivating examples
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
Matthew Woehlke mw_triad at users dot sourceforge.net changed:
What|Removed |Added
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
Bug 58876 depends on bug 59304, which changed state.
Bug 59304 Summary: #pragma diagnostic pop after warning fails for options
unspecified in the command-line and disabled by default
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59304
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
Bug 58876 depends on bug 61600, which changed state.
Bug 61600 Summary: #pragma GCC diagnostic pop leaves warnings enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61600
What|Removed |Added
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
Jonathan Wakely redi at gcc dot gnu.org changed:
What|Removed |Added
Keywords||diagnostic
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
Jonathan Wakely redi at gcc dot gnu.org changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |redi at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
--- Comment #3 from Paolo Carlini paolo.carlini at oracle dot com ---
At some point Ian Taylor filed a Bugzilla about these issues, I think it's
still open. Not sure what we should do in this area...
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
Jonathan Wakely redi at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
--- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org ---
Yes, I should dig Ian's bug out and have another look. I'm planning to throw
some ideas around on the mailing list ...
17 matches
Mail list logo