www.digitalmars.com         C & C++   DMDScript  

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

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: kekeniro2 yahoo.co.jp


--- Comment #0 from kekeniro2 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: -------
Oct 12 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11239



--- Comment #1 from kekeniro2 yahoo.co.jp 2013-10-12 21:03:02 PDT ---
Sorry, I forgot the import declaration.

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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 12 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11239


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla digitalmars.com


--- Comment #2 from Walter Bright <bugzilla digitalmars.com> 2013-10-13
16:11:33 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2661

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 13 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11239



--- Comment #3 from github-bugzilla puremagic.com 2013-10-26 19:59:25 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/4d5f5fd4d975a1eda386d3baa1ecf2c847a8bdb2
fix Issue 11239 - [REG2.064beta] ctRegex causes link errors with -debug since
Pull2550

https://github.com/D-Programming-Language/dmd/commit/acc0cb07e2cc72c344cd73e068e5100a8be8df12
Merge pull request #2661 from WalterBright/fix11239

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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 26 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11239



--- Comment #4 from github-bugzilla puremagic.com 2013-10-27 00:23:34 PDT ---
Commit pushed to 2.064 at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/7e607df53d4bcb4c0f9dce8828083f3aa4997d0b
Merge pull request #2661 from WalterBright/fix11239

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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 27 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11239


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
         OS/Version|Windows                     |All


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