Erik <esigra@xxxxxxxxx> writes: > I need to get an error when the return value of a function with > attribute warn_unused_result is ignored. I added > -Werror=unused-function, -Werror=unused-label and -Werror=unused-value > but nothing seems to work. Unfortunately there is no way to specifically control this warning. This is a bug. Ian