[Buildroot] Compile error: makedevs.c - warnings treated as errors

Dan Lyke danlyke at flutterby.com
Tue Dec 2 19:34:32 UTC 2008

On Tue, 2 Dec 2008 12:17:05 -0700
"Joe George" <ccjoegml at 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.

More information about the buildroot mailing list