digitalmars.D.bugs - [Issue 10873] New: Refused extern(C) function type definition with new alias syntax
- d-bugmail puremagic.com (26/26) Aug 22 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10873
- d-bugmail puremagic.com (12/12) Aug 22 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10873
http://d.puremagic.com/issues/show_bug.cgi?id=10873
Summary: Refused extern(C) function type definition with new
alias syntax
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody puremagic.com
ReportedBy: bearophile_hugs eml.cc
alias extern(C) void* function(in size_t size) nothrow T1; // OK
alias T2 = extern(C) void* function(in size_t size) nothrow; // Error
void main() {}
dmd 2.064alpha:
test.d(2): Error: basic type expected, not extern
test.d(2): Error: semicolon expected to close alias declaration
test.d(2): Error: no identifier for declarator extern (C) void* function(in
size_t size) nothrow
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 22 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10873
Andrej Mitrovic <andrej.mitrovich gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |andrej.mitrovich gmail.com
Resolution| |DUPLICATE
17:09:56 PDT ---
*** This issue has been marked as a duplicate of issue 10471 ***
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 22 2013








d-bugmail puremagic.com