Mail Archives: djgpp-workers/1997/11/18/11:46:52
Just a small patch:
compiling a file that has
#include <dos.h>
#include <sys\excpetn.h>
and using the compiler flag -Wshadow, produces:
/local/include/sys/exceptn.h:39: warning: declaration of `enable' shadows
global declaration
here is a little patch that stops the warning
*** include/sys/exceptn.h Mon Dec 4 22:39:44 1995
--- include/sys/exceptn.h-new Tue Nov 18 10:34:04 1997
***************
*** 37,41
void __djgpp_exception_toggle(void);
! int __djgpp_set_ctrl_c(int enable); /* On by default */
#endif /* !_POSIX_SOURCE */
--- 37,41 -----
void __djgpp_exception_toggle(void);
! int __djgpp_set_ctrl_c(int enable_ctrl_c); /* On by default */
#endif /* !_POSIX_SOURCE */
- Raw text -