Thread overview
[Issue 14588] [REG2.067] undefined reference error while linking with -debug option to a static library.
[Issue 14588] undefined reference error while linking with -debug option to a static library.
May 15, 2015
Zhouxuan
May 16, 2015
ryan@rcorre.net
May 17, 2015
Vladimir Panteleev
May 18, 2015
Martin Krejcirik
Jun 30, 2015
Kenji Hara
May 15, 2015
https://issues.dlang.org/show_bug.cgi?id=14588

--- Comment #1 from Zhouxuan <pycerl@qq.com> ---
This is happened under dmd 2.067 and seems no problem with dmd 2.065

--
May 16, 2015
https://issues.dlang.org/show_bug.cgi?id=14588

ryan@rcorre.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ryan@rcorre.net

--- Comment #2 from ryan@rcorre.net ---
More detail:

The following works:
------------------------
//testa.d

module testa.d;

void func(alias a)()
{
}

class A
{
    int i;
    void all()
    {
        func!(i)();
    }
}
---------------------

The following fails:
---------------------
//testa.d

module testa.d;

void func(alias a)()
{
}

class A
{
    int i;
    void all()()
    {
        func!(i)();
    }
}

Note the addition of an empty compile-time parameter list

--
May 17, 2015
https://issues.dlang.org/show_bug.cgi?id=14588

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow@gmail.com

--- Comment #3 from Vladimir Panteleev <thecybershadow@gmail.com> ---
Introduced in https://github.com/D-Programming-Language/dmd/pull/3942

--
May 18, 2015
https://issues.dlang.org/show_bug.cgi?id=14588

Martin Krejcirik <mk@krej.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|undefined reference error   |[REG2.067] undefined
                   |while linking with -debug   |reference error while
                   |option to a static library. |linking with -debug option
                   |                            |to a static library.

--
June 30, 2015
https://issues.dlang.org/show_bug.cgi?id=14588

Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |link-failure, pull
           Hardware|x86_64                      |All
                 OS|Linux                       |All

--- Comment #4 from Kenji Hara <k.hara.pg@gmail.com> ---
https://github.com/D-Programming-Language/dmd/pull/4787

--
July 07, 2015
https://issues.dlang.org/show_bug.cgi?id=14588

--- Comment #5 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/fcb7915ec75752a04892246be18632b077f7e2b7
fix Issue 14588 - undefined reference error while linking with -debug option to
a static library

https://github.com/D-Programming-Language/dmd/commit/0e0519692b8913487d12050f7ea0ef5702d2d64e Merge pull request #4787 from 9rnsr/fix14588

[REG2.067] Issue 14588 - undefined reference error while linking with -debug option to a static library

--
July 07, 2015
https://issues.dlang.org/show_bug.cgi?id=14588

--- Comment #6 from github-bugzilla@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/f67af18cd4f4c69eff63a72618e7ba5cc031753d Merge pull request #4787 from 9rnsr/fix14588

[REG2.067] Issue 14588 - undefined reference error while linking with -debug option to a static library

--
July 24, 2015
https://issues.dlang.org/show_bug.cgi?id=14588

--- Comment #7 from github-bugzilla@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/f67af18cd4f4c69eff63a72618e7ba5cc031753d Merge pull request #4787 from 9rnsr/fix14588

--
July 22, 2017
https://issues.dlang.org/show_bug.cgi?id=14588

--- Comment #8 from github-bugzilla@puremagic.com ---
Commits pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/fcb7915ec75752a04892246be18632b077f7e2b7 fix Issue 14588 - undefined reference error while linking with -debug option to a static library

https://github.com/dlang/dmd/commit/0e0519692b8913487d12050f7ea0ef5702d2d64e Merge pull request #4787 from 9rnsr/fix14588

--