This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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
 		 	   		  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]