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

           Summary: Rejects valid c++
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


llvm-gcc rejects

        class A {
        public:
          A();
          private:
         A(const A&);
        };
        void B(const A& arg);
        void C() {
          B(A());
        }

This was fixed in gcc in http://gcc.gnu.org/ml/gcc-cvs/2007-10/msg00701.html,
but
unfortunately that patch is GPL3.


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