www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15020] New: pragma(lib) not implemented with 2.068.1

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

          Issue ID: 15020
           Summary: pragma(lib) not implemented with 2.068.1
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: chalucha gmail.com

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?

--
Sep 07 2015