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: bugzi...@digitalmars.com
        ReportedBy: bary...@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?


-- 

Reply via email to