Mail Archives: djgpp-workers/2002/03/02/09:32:13
More warnings from gcc 3.03. I didn't see these before because these
parts don't error on warnings. (There might be more of them.)
make -C common
gcc ... -c dbgcom.c
dbgcom.c: In function `_set_break_DPMI':
dbgcom.c:254: warning: comparison between signed and unsigned
if(rv != -1) {
breakhandle[i] = bpinfo.handle;
/* printf("SetBreak typ=%d siz=%d at 0x%x returns han=%d\n",brtype,(int)bpinfo.size,(unsigned)bpinfo.address,breakhandle[i]); */
if(breakhandle[i] == (bpinfo.address >> 16) ) /* Win 2K bug */ /* Line 254. */
breakhandle[i] = nset;
nset++;
gcc ... -c v2load.c
v2load.c: In function `make_proxy_var':
v2load.c:131: warning: comparison between signed and unsigned
static int
make_proxy_var(const char *program, const char *cmdline,
unsigned long *tbuf, size_t *tb_space, size_t *proxy_argc)
{
...
cmd_selector = 0; /* if it stays 0, it wasn't allocated */
*tbuf = __dpmi_allocate_dos_memory ((*tb_space + 15) >> 4, &cmd_selector);
if (*tbuf == -1) /* Line 131. */
return 0;
*tbuf <<= 4;
*proxy_argc = argc;
Right,
MartinS
- Raw text -