digitalmars.D.bugs - [Issue 12192] New: Wrong interface file content generated that crashes compiler
- d-bugmail puremagic.com (31/31) Feb 18 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12192
- d-bugmail puremagic.com (7/7) Feb 18 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12192
- d-bugmail puremagic.com (7/7) Feb 18 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12192
- d-bugmail puremagic.com (7/7) Feb 18 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12192
- d-bugmail puremagic.com (7/7) Feb 18 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12192
https://d.puremagic.com/issues/show_bug.cgi?id=12192 Summary: Wrong interface file content generated that crashes compiler Product: D Version: unspecified Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: dy70swq+kzut3k sharklasers.com PST --- Created an attachment (id=1326) Programme source code I have written a shared library and a programme to use it. While compiling the library file, "-H" flag is used to generate interface file. Compiler generates wrong content, eats some of the codes. After this, while the programme is being compiled, compiler crashes with a segmentation error. Version: 2.064.2 OS: Ubuntu 13.10 Source codes are: lib.d, app.d Generated Interface file: lib.di Used makefile: makefile Output of make: makeresult.txt Source codes are reduced to make it as clear as possible. No matter where I put that static destructor, compiler eats it all the time. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 18 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12192 PST --- Created an attachment (id=1327) Library source code -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 18 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12192 PST --- Created an attachment (id=1328) Generated interface file -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 18 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12192 PST --- Created an attachment (id=1329) Used makefile -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 18 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12192 PST --- Created an attachment (id=1330) Output of make -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 18 2014