Hi,

On Thu, May 28, 2015 at 9:46 PM, Hotmail (ArbolOne) <arbol...@hotmail.ca> wrote:
> Hi!
> When using this the [[ noreturn ]] attribute like this: - void f [[ noreturn
> ]] (); - I get a warning that reads:
> warning: 'noreturn' function does return
> ( http://www.stroustrup.com/C++11FAQ.html#attributes )
> What can I do to remove this warning?

I suspect that the implicit return at the end of the function triggers
the warning. The example you give shows a function that throws
unconditionally, meaning the function truly doesn't return.

-Andrew

>
> Thanks



-- 
--
Andrew Melo

------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to