Read the error message and make your function never return. That is all.
Paste a testcase next time.

------------------                               
Best regards,
lh_mouse
2015-05-29

-------------------------------------------------------------
发件人:"Hotmail \(ArbolOne\)" <arbol...@hotmail.ca>
发送日期:2015-05-29 10:46
收件人:gcc-help Mailing List,MinGW-64 Mailinglist
抄送:
主题:[Mingw-w64-public] [[ noreturn ]]

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?

Thanks 


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



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

Reply via email to