--- Comment #3 from Walter Bright <> 2011-03-17 
16:04:04 PDT ---
(In reply to comment #2)
> Should an attribute be necessarily part of function interface? MSVC uses
> __declspec(naked), which is not part of the function interface
> ( Also, 
> the
> GNU compiler uses __attribute__((naked)). Having "naked" in the assembly block
> has never felt right, really.

Naked is an internal characteristic of a function, not an external one. It
simply does not belong in the declaration, despite the existence of poorly
designed extensions in other languages.

Think of it this way - is it a good design to have to change your header files
if you change your implementation?

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to