[Issue 2805] New: Many modules not labbeled as system

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 6 04:50:00 PDT 2009


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

           Summary: Many modules not labbeled as system
           Product: D
           Version: 2.026
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: baryluk at smp.if.uj.edu.pl


$ 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?


-- 



More information about the Digitalmars-d-bugs mailing list