[Bug c++/115580] New: decltype of nullptr error with -Werror=nonnull

2024-06-21 Thread marcpawl at gmail dot com via Gcc-bugs
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: marcpawl at gmail dot com Target Milestone: --- -Werror=nonnull returns error when using nullptr to get type of member function. Even though we are using -Werror=nonnull, there should be no diagnostic since the function

[Bug c++/95772] warning desired when default operator= cannot be constructued

2020-06-20 Thread marcpawl at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95772 Marc Pawlowsky changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/95772] warning desired when default operator= cannot be constructued

2020-06-19 Thread marcpawl at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95772 --- Comment #2 from Marc Pawlowsky --- I understand that it is deleted, but if somebody says it should be defaulted when it is defaulted that is most likely an error, and it would be nice if a warning were generated.

[Bug c++/95772] New: warning desired when default operator= cannot be constructued

2020-06-19 Thread marcpawl at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: marcpawl at gmail dot com Target Milestone: --- https://godbolt.org/z/eXckPe #include class Const { public: int const i_; Const(int i) : i_(i) {} Const& operator=(Const&

[Bug c++/92852] New: location references block not in block tree

2019-12-06 Thread marcpawl at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: marcpawl at gmail dot com Target Milestone: --- https://godbolt.org/z/Kh3xWR Add... #include #include #include void foo() { std::ostream& message_stream = std::cout; auto data = std::make_tuple(3,4.5

[Bug c++/92735] unused member variable causes code to compile for member to function for undefined function

2019-12-03 Thread marcpawl at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92735 --- Comment #4 from Marc Pawlowsky --- (In reply to Jonathan Wakely from comment #2) > For the case reported here, Clang and EDG do reject it, but I'm not yet > convinced GCC is wrong to accept it. > > The implicit instantiation of is_Foo causes

[Bug c++/92735] New: unused member variable causes code to compile for member to function for undefined function

2019-11-29 Thread marcpawl at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: marcpawl at gmail dot com Target Milestone: --- Marc Pawlowsky Thu, Nov 28, 8:25 PM (23 hours ago) to gcc-bugzilla-account-request https://godbolt.org/z