Review Request: New KDE Macro for to wrap the noreturn attribute

Pau Garcia i Quiles pgquiles at elpauer.org
Mon Feb 13 11:49:08 GMT 2012


Hi,

The MSDN documentation explains this:

http://msdn.microsoft.com/en-us/library/k6ktzx3s%28v=vs.100%29.aspx


On Mon, Feb 13, 2012 at 12:30 PM, David Faure <faure at kde.org> wrote:

>    This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/103832/
>
> Out of curiosity, if the method returns void anyway, why is this attribute necessary? It's not like the the compiler is going to warn about the lack of a return value...
>
>
> - David
>
> On January 31st, 2012, 8:58 p.m., Allen Winter wrote:
>   Review request for kdelibs.
> By Allen Winter.
>
> *Updated Jan. 31, 2012, 8:58 p.m.*
> Description
>
> This diff adds a new macro KDE_NO_RETURN that wraps the noreturn attribute which is enabled differently based on the compiler.
>
>   Testing
>
> did a test compile
>
>   Diffs
>
>    - kdemacros.h.cmake (b93242c)
>
> View Diff <http://git.reviewboard.kde.org/r/103832/diff/>
>



-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120213/41f7af89/attachment.htm>


More information about the kde-core-devel mailing list