[LLVMbugs] [Bug 23656] New: r238190 cause many ‘class llvm?=::=?UTF-8?Q?MCObjectFileInfo’ has virtual functions and accessible non-virtual destructor warnings

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 26 03:33:06 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23656

            Bug ID: 23656
           Summary: r238190 cause many ‘class llvm::MCObjectFileInfo’ has
                    virtual functions and accessible non-virtual
                    destructor warnings
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: octoploid at yandex.com
                CC: daniel.sanders at imgtec.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

r238190 added a virtual method to MCObjectFileInfo and causes many warnings
during the build with gcc:

/home/trippels/llvm/include/llvm/MC/MCObjectFileInfo.h:25:7: warning: ‘class
llvm::MCObjectFileInfo’ has virtual functions and accessible non-virtual
destructor [-Wnon-virtual-dtor]
 class MCObjectFileInfo {
       ^

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150526/3445bf59/attachment.html>


More information about the llvm-bugs mailing list