Bug 15020 – pragma(lib) not implemented with 2.068.1
Status
RESOLVED
Resolution
INVALID
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2015-09-07T07:58:00Z
Last change time
2015-09-07T08:12:08Z
Assigned to
nobody
Creator
chalucha
Comments
Comment #0 by chalucha — 2015-09-07T07:58:51Z
With 2.068.1 out, I tried today to recompile some vibe server and gets this errors:
...\dub\packages\libasync-0.7.5\source\libasync\windows.d:22:1: error: pragma(lib) not implemented [-Werror]
pragma(lib, "ws2_32");
^
...\dub\packages\libasync-0.7.5\source\libasync\windows.d:23:1: error: pragma(lib) not implemented [-Werror]
pragma(lib, "ole32");
^
cc1d.exe: all warnings being treated as errors
gdc failed with exit code 1.
In the libasync sources there are these lines:
pragma(lib, "ws2_32");
pragma(lib, "ole32");
This compiles just fine with 2.068.0
I'm on windows 8.1 x86_64
Bug?
Comment #1 by chalucha — 2015-09-07T08:12:08Z
Hm, it was just that after 2.068.1 installation ower 2.068.0 it ended up with dmd uninstalled and dub used gdc instead