All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Ferron <chris.e.ferron at linux.intel.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] [Warning fixes 2/6] Build with -Wno-unused-result for now, it seems at least some of these cases are intentional (see ml discussion)
Date: Fri, 24 Aug 2012 10:54:17 -0700	[thread overview]
Message-ID: <5037BFC9.3080305@linux.intel.com> (raw)
In-Reply-To: 1345829887.2831.1.camel@sara

[-- Attachment #1: Type: text/plain, Size: 604 bytes --]

On 08/24/2012 10:38 AM, Magnus Fromreide wrote:
> On Fri, 2012-08-24 at 18:53 +0200, Joerg Mayer wrote:
>> Note: Is this this flag supported on all compilers?
> Please don't.
>
> If you really mean to ignore the result values then the canonical thing
> to do is to cast them to (void)
Agreed. Also really don't want this as some of the results that are 
being ignored should really be fixed. Meaning wrapped in error handling.
>
> /MF
>
> _______________________________________________
> PowerTop mailing list
> PowerTop(a)lists.01.org
> https://lists.01.org/mailman/listinfo/powertop


             reply	other threads:[~2012-08-24 17:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-24 17:54 Chris Ferron [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-08-25  7:29 [Powertop] [Warning fixes 2/6] Build with -Wno-unused-result for now, it seems at least some of these cases are intentional (see ml discussion) Joerg Mayer
2012-08-24 17:38 Magnus Fromreide
2012-08-24 16:53 Joerg Mayer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5037BFC9.3080305@linux.intel.com \
    --to=powertop@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.