[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Om-synth] dave's lash patches
From: |
Lars Luthman |
Subject: |
Re: [Om-synth] dave's lash patches |
Date: |
Sat, 12 Nov 2005 22:50:42 +0100 |
On Sat, 2005-11-12 at 22:37 +0100, Lars Luthman wrote:
> On Sat, 2005-11-12 at 20:28 +0100, Atte André Jensen wrote:
> > Next my compile problems (debian/unstable), specimen first. I cannot
> > even compile it without the patches, since making phat-0.3.1 fails:
> >
> > address@hidden phat-0.3.1]$ make
> > <snip>
> > cc1: warnings being treated as errors
> > phatkeyboard.c: In function 'phat_keyboard_get_adjustment':
> > phatkeyboard.c:622: warning: missing sentinel in function call
> > phatkeyboard.c:624: warning: missing sentinel in function call
> > phatkeyboard.c: In function 'phat_keyboard_set_adjustment':
> > phatkeyboard.c:644: warning: missing sentinel in function call
> > phatkeyboard.c:646: warning: missing sentinel in function call
> > make[2]: *** [libphat_la-phatkeyboard.lo] Error 1
>
> These are just warnings, so a trivial fix would be to remove -Werror
> from the compiler flags. I think these warnings are triggered when you
> send 0 values instead of proper NULL pointers to some functions.
A cleaner fix would be to apply the attached patch to the phat sources.
--
Lars Luthman
PGP key: http://www.d.kth.se/~d00-llu/pgp_key.php
Fingerprint: FCA7 C790 19B9 322D EB7A E1B3 4371 4650 04C7 7E2E
phat-sentinelfix.diff
Description: Text Data
signature.asc
Description: This is a digitally signed message part