-Wunused-value vs -Wunused-result

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

-Wunused-value vs -Wunused-result

Alex Denisov via cfe-dev
It sounds like -Wno-unused-value will turn -Wunused-result default to -Wno-unused-result.
However -Wno-unused-result does not effect -Wunused-value default. Is this by design or a bug?
Notice, in gcc both options are independent and don't affect each other.
 
 


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev