Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Lyke <danlyke@flutterby.com>
To: buildroot@busybox.net
Subject: [Buildroot] Compile error: makedevs.c - warnings treated as errors
Date: Tue, 2 Dec 2008 11:34:32 -0800	[thread overview]
Message-ID: <20081202113432.598b490a@danhplaptop> (raw)
In-Reply-To: <7631e7570812021117h254f7bd2r3145bdcca1611ccf@mail.gmail.com>

On Tue, 2 Dec 2008 12:17:05 -0700
"Joe George" <ccjoegml@gmail.com> wrote:
> cc1: warnings being treated as errors
> /media/swdev/buildroot/build_powerpc/makedevs/makedevs.c: In function
> 'main': /media/swdev/buildroot/build_powerpc/makedevs/makedevs.c:531:
> error: ignoring return value of 'system', declared with attribute
> warn_unused_result
> make: *** [/media/swdev/buildroot/build_powerpc/makedevs/makedevs]
> Error 1


I've just replaced that line in makedevs.c with

   int r = system(...);
   if (r) {}

Temporary gross workaround and all, but it let the compile continue.

  reply	other threads:[~2008-12-02 19:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-02 19:17 [Buildroot] Compile error: makedevs.c - warnings treated as errors Joe George
2008-12-02 19:34 ` Dan Lyke [this message]
2008-12-02 22:27 ` Thomas Petazzoni

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=20081202113432.598b490a@danhplaptop \
    --to=danlyke@flutterby.com \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox