On Thu, Jul 23, 2009 at 4:17 PM, Mike Mammarella<[email protected]> wrote:
> gcc/g++ have __attribute__((warn_unused_result)) that you can specify
> on a per-function basis:
>
> http://www.ohse.de/uwe/articles/gcc-attributes.html#func-warn_unused_result
>
> Or do you mean warnings when a function is supposed to return a value
> but does not have a return statement at the end?

Indeed, that is what I mean.

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to