[Issue 5739] versioned linkage declarations don't work
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 18 02:49:10 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5739
Trass3r <mrmocool at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
--- Comment #5 from Trass3r <mrmocool at gmx.de> 2011-03-18 02:45:55 PDT ---
Yep, the second issue still persists.
I found out what I originally wanted to do can be achieved via:
extern(C):
version(Bla)
extern(Windows): // though replacing this with mixin("extern(Windows):");
doesn't work, then extern(C) wins
void foo();
But as soon as you have 2 blocks like
version(Bla)
extern(Windows):
version(Blub)
extern(C++):
and Blub isn't set, it fails with "undefined identifier foo"
--
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