www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15462] New: undefined indentifiers that should be visible


          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 puremagic.com
          Reporter: john.loughran.colvin 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.

Dec 19 2015