[CF-Devel] someone did try his code?

crossfire-devel-admin at archives.real-time.com crossfire-devel-admin at archives.real-time.com
Tue Jul 15 05:04:52 CDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I just cheked out the latest cvs version of server to apply the corrections
made recently to a bug. After a cvs update, where ther was any apparent
problems, at compile time i receive this error:
if gcc -DHAVE_CONFIG_H -I. -I. -I../include  -I../include
- -DDATADIR=\"/home/crossfire//share/crossfire\"
- -DCONFDIR=\"/home/crossfire//etc/crossfire\"
- -DLIBDIR=\"/home/crossfire//lib/crossfire\"
- -DLOCALDIR=\"/home/crossfire//var/crossfire\" -DPLUGIN_SUFFIX=\".so\"   -g
- -O2 -MT weather.o -MD -MP -MF ".deps/weather.Tpo" \
  -c -o weather.o `test -f 'weather.c' || echo './'`weather.c; \
then mv ".deps/weather.Tpo" ".deps/weather.Po"; \
else rm -f ".deps/weather.Tpo"; exit 1; \
fi
weather.c: In function `smooth_wind':
weather.c:2561: error: `WIND_FACTOR' undeclared (first use in this function)
weather.c:2561: error: (Each undeclared identifier is reported only once
weather.c:2561: error: for each function it appears in.)
make[1]: *** [weather.o] Error 1

So to be sure this was not some local modification on mids, staying around, i
deleted the file weather.c and run cvs update again.
I still got the same error but at line 2560.

I know this is not possible to test all possibilites around a modified code,
and that sometimes bug may still hide somewhere. But could developpers at
least check code compile and run just a bit. And before commiting new or
modified code, do always a checkout of less than 2 minutes ago, and if cvs
did patch some files in the checkout process, do a
make clean ; make
to check it still compiles.

thanks for not having this kind of problem in the future!

- --
Tchize (David Delbecq)
     
     tchize at myrealbox.com
     
     
Public PGP KEY FINGERPRINT:
    F4BC EF69 54CC F2B5 4621  8DAF 1C71 8E6B 5436 C17C
Public PGP KEY location:
    
     
     http://wwwkeys.pgp.net/pgpnet/wwwkeys.html
     
     
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/E9HKHHGOa1Q2wXwRAlZ9AJ0eTK6Z9oCUYwio74cBGzkNkcvJ3wCeJ82w
JnILk0rqqtkICyalimU9ZdU=
=U0tz
-----END PGP SIGNATURE-----


_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list