[Xastir-Dev] warning: big change to map_shp about to commit

Alan Crosswell alan at columbia.edu
Tue Sep 2 14:24:18 EDT 2003


This might be the missing sys/types.h that someone else mentioned for 
freebsd (and fixed and committed).  Please try the latest CVS and see if 
it recurs.
/a

Bob Nielsen wrote:

>On Fri, Aug 29, 2003 at 12:42:47PM -0400, Alan Crosswell wrote:
>  
>
>>I'm about to commit a big change to map_shp.c that adds use of 
>>config/*.dbfawk files to set map feature attributes.  I don't yet have 
>>.dbfawk files defined for all shapefile flavors but have defined them for 
>>the major Tiger/Line types. There are likely still some bugs and some 
>>memory leaks, so I need some folks to look at what I've done and test.   To 
>>enable it, do "./configure --with-dbfawk"
>>
>>By editing the .dbfawk files you can control all the map features such as 
>>at what zoom level the feature (or the label) becomes visible, what color, 
>>line thickness, dashed vs. solid, etc.
>>
>>It's not completely baked yet but it's close.
>>/a
>>
>>    
>>
>
>I tried this with the latest (8/30) from the user CVS and got the
>following error (compiling with gcc 3.3 on a Debian mixed sarge/sid
>box):
>
>map_shp.c:574: syntax error before '*' token
>map_shp.c:574: warning: type defaults to `in' in declaration of `Dbf_sigs'
>map_shp.c:574: warning: data definition has no type or storage class
>map_shp.c:575: syntax error before '*' token
>map_shp.c:575: warning: type defaults to `int' in declaration of `Symtbl'
>map_shp.c:575: warning: data definition has no type or storage class
>map_shp.c: In function `draw_shapefile_map':
>map_shp.c:638: `dbfawk_sig_info' undeclared (first use in this function)
>map_shp.c:638: (Each undeclared identifier is reported only once
>map_shp.c:638: for each function it appears in.)
>map_shp.c:638: `sig_info' undeclared (first use in this function)
>map_shp.c:639: `dbfawk_field_info' undeclared (first use in this function)
>map_shp.c:639: `fld_info' undeclared (first use in this function)
>map_shp.c:653: warning: implicit declaration of function `dbfawk_load_sigs'
>map_shp.c:653: warning: assignment makes pointer from integer without a cast
>map_shp.c:702: warning: implicit declaration of function `dbfawk_sig'
>map_shp.c:724: warning: implicit declaration of function `dbfawk_find_sig'
>map_shp.c:727: warning: implicit declaration of function `awk_new_symtab'
>map_shp.c:727: warning: assignment makes pointer from integer without a cast
>map_shp.c:728: warning: implicit declaration of function `awk_declare_sym'
>map_shp.c:728: `STRING' undeclared (first use in this function)
>map_shp.c:729: `INT' undeclared (first use in this function)
>map_shp.c:739: warning: implicit declaration of function `awk_compile_program'
>map_shp.c:743: warning: implicit declaration of function `awk_exec_begin'
>map_shp.c:745: warning: implicit declaration of function `dbfawk_field_list'
>map_shp.c:1443: warning: implicit declaration of function `dbfawk_parse_record'
>make[2]: *** [map_shp.o] Error 1
> 
>73,
>Bob, N7XY
>_______________________________________________
>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