[LLVMbugs] [Bug 6703] New: Compiler fails on bool MutexImpl::MutexImpl()

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 25 08:38:52 PDT 2010


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

           Summary: Compiler fails on bool MutexImpl::MutexImpl()
           Product: new-bugs
           Version: 2.6
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: reeuwijk at few.vu.nl
                CC: llvmbugs at cs.uiuc.edu


While porting llvm to minix 3.0, I came across the function

bool MutexImpl::MutexImpl(){ return true; }

in lib/System/Unix/Mutex.inc

The gcc compiler on Minix fails on this, because the function is not a
constructor. Simply removing the function doesn't seem to have any harmful
effects.

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