digitalmars.D.bugs - [Issue 4868] New: optlink doesn't complain about wrong extern declaration
- d-bugmail puremagic.com (32/33) Sep 14 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4868
http://d.puremagic.com/issues/show_bug.cgi?id=4868 Summary: optlink doesn't complain about wrong extern declaration Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW Keywords: diagnostic Severity: normal Priority: P2 Component: Optlink AssignedTo: nobody puremagic.com ReportedBy: mrmocool gmx.de testc.c ======= int foo; test.d ====== extern(C) { extern int foo; } void main() { foo = 1; }dmc -c testc.c && dmd test.d testc.obj && test.exeobject.Error: Access Violation -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 14 2010