std.experimental.allocator optlink error

ref2401 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Nov 9 10:07:37 PST 2015


On Monday, 9 November 2015 at 14:42:01 UTC, ref2401 wrote:
> Hello
>
> I wrote a small hello world app and imported the 
> `std.experimental.allocator` module.
> I'm getting the following optlink error:
> ---------------------------------------------------
> OPTLINK (R) for Win32  Release 8.00.17
> Copyright (C) Digital Mars 1989-2013  All rights reserved.
> http://www.digitalmars.com/ctg/optlink.html
> console-app.obj(console-app)
> Error 42: Symbol Undefined 
> _D3std12experimental9allocator12__ModuleInfoZ
> --- errorlevel 1
> ---------------------------------------------------
> os: 		Windows 8.1 Enterprise
> dmd: 		2.069.0
> build sript: 	dmd main.d -ofconsole-app.exe -debug -unittest -wi
>
> Thank you.

I tested it with my home laptop(Win 8.1 Pro). Same error.
If I change `std.experimental.allocator` to 
`std.experimental.logger` then it builds fine.


More information about the Digitalmars-d-learn mailing list