Bug 2961 – some sets of files compiled with (-w -inline -release) cause the linker error /PAGESIZE:16 is too small
Status
RESOLVED
Resolution
WONTFIX
Severity
normal
Priority
P2
Component
tools
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2009-05-10T15:35:00Z
Last change time
2015-06-09T04:37:40Z
Assigned to
bugzilla
Creator
one_mad_alien
Comments
Comment #0 by one_mad_alien — 2009-05-10T15:35:28Z
I'm trying to get my port of the WIN32 headers working with Digital Mars D Compiler v2.029
(see the dsource project core32)
the minium set I can find to reproduce the issue is
set FLGS=-w -inline -release
dmd %FLGS% -c win32/com/OAIDL.d -I..
..... etc ....
lib -c win32.lib d3d8types.obj d3d8caps.obj dxerr8.obj DOCOBJ.obj OBJIDL.obj extras.obj MSHTMHST.obj OLEIDL.obj OAIDL.obj EXDISP.obj
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html
Error: /PAGESIZE:16 is too small
N.B. this only appears with BOTH -release and -inline
-release -O or -inline -O does not cause the error.
as I'm not too sure what the error means I'm at a bit of a loss to make a small test file that reproduces the error.
I've not attached any files as they can all be obtained from
svn ci http://svn.dsource.org/projects/core32/trunk/