public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11067] New: [3.3/3.4 regression] Strange warning with abstract virtual inline function
@ 2003-06-02 18:19 reichelt@gcc.gnu.org
  2003-06-02 18:45 ` [Bug c++/11067] " pinskia@physics.uc.edu
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: reichelt@gcc.gnu.org @ 2003-06-02 18:19 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11067

           Summary: [3.3/3.4 regression] Strange warning with abstract
                    virtual inline function
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P4
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: reichelt@gcc.gnu.org
                CC: gcc-bugs@gcc.gnu.org
  GCC host triplet: i686-pc-linux-gnu

Compiling the following code snippet, I get a strange warning:

-------------------------------------------------
struct A
{
    virtual inline void foo() const=0;
    void bar() { foo(); }
};
-------------------------------------------------

The warning reads:
warn.cc:3: warning: inline function `virtual void A::foo() const' used but 
   never defined

The keyword "inline" doesn't make much sense, but the warning is confusing IMHO.
The warning was introduced in gcc 3.3, so I rate this as a regression.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-06-24 22:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-02 18:19 [Bug c++/11067] New: [3.3/3.4 regression] Strange warning with abstract virtual inline function reichelt@gcc.gnu.org
2003-06-02 18:45 ` [Bug c++/11067] " pinskia@physics.uc.edu
2003-06-11 22:36 ` pinskia@physics.uc.edu
2003-06-22  2:49 ` pinskia at physics dot uc dot edu
2003-06-22  2:49 ` pinskia at physics dot uc dot edu
2003-06-23 16:00 ` janis187 at us dot ibm dot com
2003-06-23 23:37 ` bangerth at dealii dot org
2003-06-24 22:41 ` pinskia at physics dot uc dot edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).