[Issue 5739] versioned linkage declarations don't work

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 20 18:57:37 PST 2012


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


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID


--- Comment #7 from Walter Bright <bugzilla at digitalmars.com> 2012-01-20 18:57:36 PST ---
(In reply to comment #4)
> But how does he get "Error: undefined identifier foo"? Shouldn't "foo" just be
> declared as a regular function?

It gets parsed like:

    extern(C): void foo();

and so foo is undefined.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list