www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15444] New: [Interfacing to Objective-C]

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

          Issue ID: 15444
           Summary: [Interfacing to Objective-C]
           Product: D
           Version: D2
          Hardware: x86_64
               URL: http://dlang.org/
                OS: Mac OS X
            Status: NEW
          Severity: major
          Priority: P3
         Component: dlang.org
          Assignee: nobody puremagic.com
          Reporter: reach.supermike gmail.com

When I run the code at the bottom of this page on OSX El Capitan with the
compiler flag options specified, I get the following errors and cannot proceed:

$ dmd -L-framework -LFoundation test.d
test.d(6): Error: undefined identifier 'selector'
test.d(12): Error: undefined identifier 'selector'
test.d(13): Error: undefined identifier 'selector'

Evidently it really doesn't like 'selector'. Here's the version of DMD I'm
running, which I got from Homebrew:

$ dmd --version
DMD64 D Compiler v2.069
Copyright (c) 1999-2015 by Digital Mars written by Walter Bright

--
Dec 14 2015