[Issue 5739] versioned linkage declarations don't work
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 18 03:00:24 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5739
--- Comment #6 from Trass3r <mrmocool at gmx.de> 2011-03-18 02:57:13 PDT ---
Ah never mind, turns out it doesn't work.
extern(C):
version(Bla)
extern(Windows):
void foo();
fails as soon as Bla isn't defined. I guess it has to do with the parser.
Because of the ':' it probably gets read like:
version(Bla)
{
extern(Windows):
void 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