[LLVMbugs] [Bug 6527] New: catch reference to incomplete type

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Mar 6 15:58:15 PST 2010


           Summary: catch reference to incomplete type
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sorokin at rain.ifmo.ru
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com

clang and comeau can't compile this code, but gcc and msvc can.

struct T;

template <typename U>
void f()
   catch(T const &)

struct T

int main()
   return 0;

I don't know is this error of clang or boost. So I report the bug to boost too:

In any case compatibility with gcc is useful.

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.

More information about the llvm-bugs mailing list