[Xastir-Dev] WinAPRS maps?

Curt Mills, WE7U archer at eskimo.com
Sat Jun 28 15:24:53 EDT 2003


On Sat, 28 Jun 2003, Curt Mills, WE7U wrote:

> On Sat, 28 Jun 2003, KC7ZRU - Tate wrote:
> 
> > Anyone else notice that some of the 'old standbys' aren't displaying 
> > anymore?
> > 
> > usaeast.map
> > usancen.map
> > usaseast.map
> > usawest.map

A bit more investigation:  I added "-Wall" to the CFLAGS line in
xastir/src/Makefile and came up with these error messages:

maps.c:3452: warning: `index_insert_sorted' defined but not used

map_dos.c: In function `draw_dos_map':
map_dos.c:561: warning: implicit declaration of function `map_onscreen'
map_dos.c:326: warning: unused variable `ext'
map_dos.c: At top level:
map_dos.c:90: warning: `vectors_num' defined but not used
map_dos.c:91: warning: `text_label_num' defined but not used
map_dos.c:92: warning: `object_label_num' defined but not used

map_pdb.c: In function `draw_palm_image_map':
map_pdb.c:268: warning: implicit declaration of function `map_onscreen'
map_pdb.c:338: warning: implicit declaration of function `map_plot'

map_geo.c:279: warning: implicit declaration of function `get_map_dir'


So...  It looks like the split into the multiple files needs a bit of
cleanup work yet.  It's likely that some of the parameter passing
between routines is defaulting to type "int" because of some lacking
prototypes, which is truncating some of the critical numbers, such as
the unsigned longs we use for Xastir coordinate system.  That results
in the dos maps appearing in the wrong place.

Curt, WE7U.				archer at eskimo.com
http://www.eskimo.com/~archer
  Lotto:  A tax on people who are bad at math. - unknown
Windows:  Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir-dev mailing list