Bug 120 – Phobos modules fail to compile with -w switch

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-04-30T22:03:00Z
Last change time
2014-02-15T13:28:59Z
Assigned to
bugzilla
Creator
a.solovey

Comments

Comment #0 by a.solovey — 2006-04-30T22:03:40Z
Using -w switch produces errors in these Phobos modules: std/base64.d std/bitarray.d std/boxer.d std/conv.d std/date.d std/dateparse.d std/demangle.d std/format.d std/math.d std/math2.d std/mmfile.d std/regexp.d std/socket.d std/socketstream.d std/stream.d std/string.d std/thread.d std/uri.d std/zip.d std/zlib.d std/c/windows/windows.d std/c/windows/winsock.d std/typeinfo/ti_Along.d std/typeinfo/ti_Aulong.d std/typeinfo/ti_void.d std/windows/registry.d
Comment #1 by a.solovey — 2006-04-30T22:11:58Z
This causes problems when the program importing one of those modules is being compiled with 'dmd -w -release -inline'. For example, this code fails to compile, producing 97 error messages: // compile with '-w -release -inline' import std.stdio; int main( char[][] args ) { writefln( "Hello, world!" ); return 0; }
Comment #2 by matti.niemenmaa+dbugzilla — 2006-06-19T03:22:58Z
*** Bug 208 has been marked as a duplicate of this bug. ***
Comment #3 by bugzilla — 2006-06-20T02:19:38Z
Fixed DMD 0.161