[Xastir-Dev] WinAPRS maps?
Alan Crosswell
alan at columbia.edu
Wed Jul 2 10:21:32 EDT 2003
OK, Curt and I duked it out in a fix frenzy and now it's fixed and committed.
map_dos.c revision 1.4.
/a
Curt Mills, WE7U wrote:
> 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!"
>
> _______________________________________________
> Xastir-dev mailing list
> Xastir-dev at xastir.org
> https://krypton.hscs.virginia.edu/mailman/listinfo/xastir-dev
More information about the Xastir-dev
mailing list