[Issue 16295] REG since 2.069: undefined symbol that should be defined prevents separate compilation

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jul 18 20:46:46 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16295

Timothee Cour <timothee.cour2 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timothee.cour2 at gmail.com
            Summary|REG since 2.069: undefined  |REG since 2.069: undefined
                   |symbol that should be       |symbol that should be
                   |defined                     |defined prevents separate
                   |                            |compilation

--- Comment #1 from Timothee Cour <timothee.cour2 at gmail.com> ---
NOTE: this is very bad because it prevents separate compilation model.

this removes the undefined symbols:
$dmd -c -of$out_D/main.o main.d fund.d

this has undefined symbols:
$dmd -c -of$out_D/main.o main.d
$dmd -c -of$out_D/fun.o fun.d

_D4main8__T1AThZ1A8__T1BThZ1B5frontMFNaNbNiNfZPv is undefined in both main.o
and fun.o

--


More information about the Digitalmars-d-bugs mailing list