[Issue 11239] New: [REG2.064beta] ctRegex causes link errors with -debug since Pull2550

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 12 20:50:19 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11239

           Summary: [REG2.064beta] ctRegex causes link errors with -debug
                    since Pull2550
           Product: D
           Version: D2
          Platform: All
        OS/Version: Windows
            Status: NEW
          Keywords: link-failure
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: kekeniro2 at yahoo.co.jp


--- Comment #0 from kekeniro2 at yahoo.co.jp 2013-10-12 20:50:17 PDT ---
DMD 2.064 beta doesn't compile the following code.
2.063.2 does.
Pull #2550 introduces this problem.

COMMAND:
dmd.exe test.d -debug -g

CODE:
void main() {
//    auto re = regex(`\w`); // OK
    enum ctre = regex(`\w`); // NG
}

OUTPUT:
 Error 42: Symbol Undefined _D3std6random123__T7uniformVAyaa2_5b29TiTykT ... (
followed by unprintable characters )
 Error 42: Symbol Undefined _D3std9algorithm13__T3minTkTykZ3minFNaNbNfkykZk

# the second error will be omitted if compiled without -g.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list