[Issue 5748] @naked annotation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 17 15:50:22 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5748


Max Samukha <samukha at voliacable.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |samukha at voliacable.com


--- Comment #2 from Max Samukha <samukha at voliacable.com> 2011-03-17 15:47:07 PDT ---
Should an attribute be necessarily part of function interface? MSVC uses
__declspec(naked), which is not part of the function interface
(http://msdn.microsoft.com/en-us/library/h5w10wxs%28v=vs.80%29.aspx). Also, the
GNU compiler uses __attribute__((naked)). Having "naked" in the assembly block
has never felt right, really.

-- 
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