[Issue 15462] New: undefined indentifiers that should be visible

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Dec 19 02:33:54 PST 2015


https://issues.dlang.org/show_bug.cgi?id=15462

          Issue ID: 15462
           Summary: undefined indentifiers that should be visible
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: john.loughran.colvin at gmail.com

% cat broken.d
class CoreTask : TaskFiber {}
import core.thread;
class TaskFiber : Fiber {}
% dmd broken.d
/usr/local/Cellar/dmd/HEAD/include/d2/core/sys/posix/sys/types.d(592): Error:
undefined identifier 'c_ulong'
/usr/local/Cellar/dmd/HEAD/include/d2/core/sys/posix/sys/types.d(596): Error:
undefined identifier 'c_long'

core.sys.posix.sys.types imports core.sys.posix.config which publicly imports
core.stdc.config which contains c_long/c_ulong in a version ( Posix ) block.

Seems to affect linux as well.

--


More information about the Digitalmars-d-bugs mailing list