www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15457] New: Symbol Undefined __lseeki64

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

          Issue ID: 15457
           Summary: Symbol Undefined __lseeki64
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: bheads moxiegroup.com

Linker error when compiling the following:
Windows 10 32bit build
Code compiles on dpaste (linux x64)  http://dpaste.dzfl.pl/becf89897e3b



import etc.c.zlib;

void main() {
  gzclose(null);
}


dmd test.d
OPTLINK (R) for Win32 Release 8.00.17 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html C:\D\dmd2\windows\bin\..\lib\phobos.lib(gzlib) Error 42: Symbol Undefined __lseeki64 --- errorlevel 1 --
Dec 16 2015