id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
396	GCC warning - shp2pgsql	colivier	pramsey	"{{{
shpopen.c: In function 'SHPOpen':
shpopen.c:456: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
shpopen.c:466: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
shpopen.c:545: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
shpopen.c: In function 'SHPReadObject':
shpopen.c:1327: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dbfopen.c: In function 'DBFUpdateHeader':
dbfopen.c:337: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dbfopen.c: In function 'DBFClose':
dbfopen.c:520: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dbfopen.c: In function 'DBFWriteAttribute':
dbfopen.c:1114: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dbfopen.c: In function 'DBFWriteAttributeDirectly':
dbfopen.c:1283: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dbfopen.c: In function 'DBFWriteTuple':
dbfopen.c:1429: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dbfopen.c: In function 'DBFReadTuple':
dbfopen.c:1473: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
getopt.c: In function 'pgis_getopt':
getopt.c:69: warning: ignoring return value of 'write', declared with attribute warn_unused_result
getopt.c:69: warning: ignoring return value of 'write', declared with attribute warn_unused_result
getopt.c:69: warning: ignoring return value of 'write', declared with attribute warn_unused_result
getopt.c:80: warning: ignoring return value of 'write', declared with attribute warn_unused_result
getopt.c:80: warning: ignoring return value of 'write', declared with attribute warn_unused_result
getopt.c:80: warning: ignoring return value of 'write', declared with attribute warn_unused_result
}}}



{{{
$gcc --version
gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ uname -a
Linux ns39258.ovh.net 2.6.31.5-grsec-xxxx-std-ipv4-64 #1 SMP Thu Oct 29 16:55:22 UTC 2009 x86_64 GNU/Linux
}}}
"	task	closed	low	PostGIS 2.0.0	loader/dumper	trunk	invalid	shp2pgsql - gcc warning	
