Bug 2805 – Many modules not marked as system

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2009-04-06T06:50:00Z
Last change time
2015-06-09T01:18:23Z
Assigned to
andrei
Creator
witold.baryluk+d

Comments

Comment #0 by witold.baryluk+d — 2009-04-06T06:50:05Z
$ dmd -safe -w -profile -debug -unittest -g -gc -D -Dddoc -version=rop -ofexample_wrap example_wrap.d btd_t.d onp/utils/timer.d onp/utils/log.d /usr/include/d/dmd2-posix/phobos/include/std/c/linux/linux.d(389): Error: cast from int to void* not allowed in safe mode In this file. // D import file generated from 'std/c/linux/linux.d' module std.c.linux.linux; should be module(system) std.c.linux.linux; BTW. Why this file have .d extension? Should this be .di?
Comment #1 by jarrett.billingsley — 2009-04-06T10:07:22Z
How is labbel formed?
Comment #2 by witold.baryluk+d — 2009-04-07T07:00:09Z
Comment #3 by yebblies — 2011-06-12T15:07:22Z
No longer valid as the old safety scheme has been abandoned.
Comment #4 by witold.baryluk+d — 2011-06-12T15:15:57Z
(In reply to comment #3) > No longer valid as the old safety scheme has been abandoned. Can you please give some references about it? I cannot find any information on digitalmars.com about it.
Comment #5 by yebblies — 2011-06-12T15:22:34Z
http://www.digitalmars.com/d/2.0/changelog.html I guess -safe was removed from the compiler in 2.037 The 'Function Safety' section in http://www.digitalmars.com/d/2.0/function.html describes what the new safety spec is supposed to be.