Hi Nguyen,

On Thursday, 2008-09-04 12:32:48 +0900, Nguyen Vu Hung wrote:

> I've noticed unused variables in the code, implicit declaration of
> function or possibly dangerous type casting... when compiling
> DEV300_m29.
> 
> It doesn't hurt but IMO, expunge what we don't need in the code is not
> a bad idea.

See comment in soltools/mkdepend/makefile.mk:

| # "mkdepend" is written in K&R style C. Modern compilers will generate
| # lots of warning. There is no point in cleaning this up, so we just
| # ignore warnings

In the case of "implicit declaration" here defining
NeedVarargsPrototypes, see def.h, in makefile.mk's CDEFS may help. If
you like try that out and if it silences the messages down and works
file a patch issue with the 'tools' project where module 'soltools' is
part of.

Btw, it also doesn't hurt to include the names of module and source code
file compiled when posting build messages ;-)

  Eike

-- 
 PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
 Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

Attachment: pgpkC9Xh3BJCD.pgp
Description: PGP signature

Reply via email to