Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: saving compiler warnings to a file

Re: saving compiler warnings to a file

From: alex wallis <alexwallis646_at_googlemail.com>
Date: Sun, 31 May 2009 18:07:10 +0100

  On Sun, May 31, 2009 at 5:49 PM, Nils <deathtoallhumans_at_gmail.com> wrote:

    On Sun, May 31, 2009 at 3:14 PM, alex wallis <alexwallis646_at_googlemail.com> wrote:

      Hi list.
      I was wondering if someone could please tell me is there a way when I am compiling under cygwin to save any compiler warnings I receive to a file? as I am getting a few with some patches in place that I would like to find out if they are worth bothering with.
      Most of the warnings relate to problems with english.lang, but I think there are some others as well. If I can save them to a file I will e mail them to the list.
      I did try googling around a bit before asking on this list, but couldn't find any information relevant to my question.
      Thanks for any help.
      Alex.

    you can pipe the output to a file in the shell like this:
    make > output.txt

  sorry, that won't catch warnings or errors, do:
  make &> out.txt
  instead, thanks to llorean for noticing!

  Hi many thanks for the info.
  I have piped the output to a file and I now have the errors logged.
  So I would appreciate any advice with the following warnings I am getting.
  the most common error is in english.lang and is repeated a lot.
  warning: unknown user!
  /home/Administrator/rockbox/apps/lang/english.lang:12504:1: warning: unknown user!
  Each time the number given changes.
  The next error I receive is because of a patch I am running I think, all the code compiles fine, but I guess it would be good to squash some of these warnings, not really sure how to fix this one.
  /home/Administrator/rockbox/apps/gui/gwps.c:469: warning: implicit declaration of function `playing_time'

  The last compilation warning I receive I think is due to the fact I am running
  fs # 9981
  which makes changes to the file that gives the warning.
  which is
  /home/Administrator/rockbox/firmware/buffer.c: In function `buffer_alloc':
  /home/Administrator/rockbox/firmware/buffer.c:46: warning: int format, size_t arg (arg 2)

  I would appreciate advice on any of the above errors.
  Many thanks for any help.
  Alex.
Received on 2009-05-31


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa