[LLVMbugs] [Bug 2142] New: A compiler error happened.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Mar 12 06:40:43 PDT 2008


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

           Summary: A compiler error happened.
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: System Library
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: yonggangluo at hotmail.com
                CC: llvmbugs at cs.uiuc.edu, yonggangluo at hotmail.com


Created an attachment (id=1528)
 --> (http://llvm.org/bugs/attachment.cgi?id=1528)
This is the source code file that contains the corrent source code line. I
corrent it.

In the file llvm\lib\System\Win32\Path.inc
on the line 48
the current code is 
 extern const char sys::PathSeparator = ';';


but it in 

namespace llvm {
namespace sys {
 extern const char sys::PathSeparator = ';';

****
}
}

so i think it's necessay to move 
 extern const char sys::PathSeparator = ';';
outside namespace sys.
or just remove sys:: from 
 extern const char sys::PathSeparator = ';';
Do you think so?

Then I think the right source code must be
 extern const char PathSeparator = ';';


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