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

             Bug #: 14322
           Summary: add warning for invalid code when
                    -fdelayed-template-parsing is used
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


-fdelayed-template-parsing is offered for compatibility with code that depends
on two-phase name lookup not being performed correctly. This functionality is
enabled by default for some platforms.

This means that invalid code can compile silently without the user requesting,
intending to use, or even being aware of delayed template parsing.

It would be nice if -fdelayed-template-parsing simply caused the error to decay
into a warning, which could be disabled for legacy code bases which truly
desire the functionality.

-- 
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