http://llvm.org/bugs/show_bug.cgi?id=13477

             Bug #: 13477
           Summary: AlignOfTest.cpp build failure with Intel Compiler
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


$ icpc --version
icpc (ICC) 12.1.4 20120410
Copyright (C) 1985-2012 Intel Corporation.  All rights reserved.

$ make
[...]
AlignOfTest.cpp(66): error #1757: virtual function "<unnamed>::V1::~V1" was not
defined (and cannot be defined elsewhere because it is a member of an unnamed
namespace)
  struct V1 { virtual ~V1(); };
                      ^

AlignOfTest.cpp(67): error #1757: virtual function "<unnamed>::V2::~V2" was not
defined (and cannot be defined elsewhere because it is a member of an unnamed
namespace)
  struct V2 { int x; virtual ~V2(); };
                             ^

AlignOfTest.cpp(68): error #1757: virtual function "<unnamed>::V3::~V3" was not
defined (and cannot be defined elsewhere because it is a member of an unnamed
namespace)
  struct V3 : V1 { virtual ~V3(); };
                           ^

AlignOfTest.cpp(69): error #1757: virtual function "<unnamed>::V4::~V4" was not
defined (and cannot be defined elsewhere because it is a member of an unnamed
namespace)
  struct V4 : virtual V2 { int y; virtual ~V4(); };
                                          ^

AlignOfTest.cpp(70): error #1757: virtual function "<unnamed>::V5::~V5" was not
defined (and cannot be defined elsewhere because it is a member of an unnamed
namespace)
  struct V5 : V4, V3 { double z; virtual ~V5(); };
                                         ^

AlignOfTest.cpp(71): error #1757: virtual function "<unnamed>::V6::~V6" was not
defined (and cannot be defined elsewhere because it is a member of an unnamed
namespace)
  struct V6 : S1 { virtual ~V6(); };
                           ^

AlignOfTest.cpp(72): error #1757: virtual function "<unnamed>::V7::~V7" was not
defined (and cannot be defined elsewhere because it is a member of an unnamed
namespace)
  struct V7 : virtual V2, virtual V6 { virtual ~V7(); };
                                               ^

AlignOfTest.cpp(73): error #1757: virtual function "<unnamed>::V8::~V8" was not
defined (and cannot be defined elsewhere because it is a member of an unnamed
namespace)
  struct V8 : V5, virtual V6, V7 { double zz; virtual ~V8(); };

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to