gas: local dirname shadows global dirname, dummy1 declaration isn't a prototype

Jay K jay.krell@cornell.edu
Sat May 8 04:15:00 GMT 2010


cc1: warnings being treated as errors
/src/binutils/src/gas/dwarf2dbg.c: In function 'out_debug_info':
/src/binutils/src/gas/dwarf2dbg.c:1619:15: error: declaration of 'dirname' shadows a global declaratio

so I renamed local dirname to dir_name

/src/binutils/src/gas/flonum-konst.c:225:1: error: function declaration isn't a prototype

remove these lines at the bottom:

#ifdef VMS
void dummy1 () { }
#endif

or if they are needed for some compiler:

#ifdef VMS
#ifdef __STDC__
void dummy1 (void);
void dummy1 (void) { }
#else
dummy1 () { }
#endif
#endif

This is with gcc 4.5.0, build=i386-darwin, host=target=alpha-dec-vms.

 - Jay
 		 	   		  



More information about the Binutils mailing list