Thread overview | ||||||
---|---|---|---|---|---|---|
|
January 01, 2013 [Issue 9247] New: Compiler accepts opaque struct returned by value from function pointer declaration. | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9247 Summary: Compiler accepts opaque struct returned by value from function pointer declaration. Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: aldacron@gmail.com --- Comment #0 from Mike Parker <aldacron@gmail.com> 2013-01-01 02:01:30 PST --- struct foo; foo function() bar; Thanks to a typo, something like this has been compiling in Derelict 3, and really shouldn't have been, on every version of DMD 2.x to date. With 2.061, it causes an error on Linux 32 and on 64-bit when compiling with -m32. No error with the 32-bit version on Windows (haven't tested 64) and I have no idea about Mac. Furthermore, the error message being put out points to the opaque struct declaration itself and not the site of the error. That made it more difficult to track down than it could have been, given that the declarations were in different files. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 09, 2013 [Issue 9247] Compiler accepts opaque struct returned by value from function pointer declaration. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | http://d.puremagic.com/issues/show_bug.cgi?id=9247 Henning Pohl <henning@still-hidden.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid, pull CC| |henning@still-hidden.de --- Comment #1 from Henning Pohl <henning@still-hidden.de> 2013-08-09 04:06:51 PDT --- https://github.com/D-Programming-Language/dmd/pull/2458 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 10, 2013 [Issue 9247] Compiler accepts opaque struct returned by value from function pointer declaration. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | http://d.puremagic.com/issues/show_bug.cgi?id=9247 --- Comment #2 from github-bugzilla@puremagic.com 2013-08-10 05:24:47 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/1206155104c13d961fd2371932fe3b2db69867bb fix issue 9247 - Compiler accepts opaque struct returned by value from function pointer declaration. https://github.com/D-Programming-Language/dmd/commit/64546fcd827f6e4ce0a8237e2e6f926feee9fa8b Merge pull request #2458 from hpohl/9247 fix issue 9247 - Compiler accepts opaque struct returned by value from function pointer declaration. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 10, 2013 [Issue 9247] Compiler accepts opaque struct returned by value from function pointer declaration. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | http://d.puremagic.com/issues/show_bug.cgi?id=9247 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation