[Issue 5463] New: errno undeclared in gzio.c

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 20 02:50:53 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5463

           Summary: errno undeclared in gzio.c
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: ghaecker at idworld.net


--- Comment #0 from Glenn Haecker <ghaecker at idworld.net> 2011-01-20 02:48:53 PST ---
dmd 2.051

Building phobos fails at

cc -c  -m32 -O3 etc/c/zlib/gzio.c -ogenerated/posix/release/etc/c/zlib/gzio.o

with multiple "‘errno’ undeclared" errors.

gzio.c is missing errno header

#include <errno.h>

Also, in etc/c/zlib/linux.mak lines 43 - 47 should be commented out or removed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list