- Mesaj
- 2.746
- Çözümler
- 286
- Beğeni
- 1.989
- Puan
- 1.349
Çözümünü bildiğiniz warningler var ise yardımcı olursanız sevinirim.
fdwatch.c:
fdwatch.c: In function 'void fdwatch_clear_event(LPFDWATCH, socket_t, unsigned int)':
fdwatch.c:165:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
165 | assert(event_idx < fdw->nfiles * 2);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~
fdwatch.c:167:38: warning: comparison of integer expressions of different signedness: '__uintptr_t' {aka 'unsigned int'} and 'socket_t' {aka 'int'} [-Wsign-compare]
167 | if (fdw->kqrevents[event_idx].ident != fd)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
In file included from ../include/stdafx.h:95,
from fdwatch.c:2:
fdwatch.c: In function 'int fdwatch_check_event(LPFDWATCH, socket_t, unsigned int)':
fdwatch.c:175:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
175 | assert(event_idx < fdw->nfiles * 2);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~
fdwatch.c:177:38: warning: comparison of integer expressions of different signedness: '__uintptr_t' {aka 'unsigned int'} and 'socket_t' {aka 'int'} [-Wsign-compare]
177 | if (fdw->kqrevents[event_idx].ident != fd)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
In file included from ../include/stdafx.h:95,
from fdwatch.c:2:
fdwatch.c: In function 'int fdwatch_get_ident(LPFDWATCH, unsigned int)':
fdwatch.c:209:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
209 | assert(event_idx < fdw->nfiles * 2);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~
fdwatch.c: In function 'void* fdwatch_get_client_data(LPFDWATCH, unsigned int)':
fdwatch.c:227:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
227 | assert(event_idx < fdw->nfiles * 2);
hungul.c:
hangul.c: In function 'const char* first_han(const BYTE*)':
hangul.c:47:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
47 | char *p = "��";
DES_table.h:
DES_table.h:164:14: warning: 'KeyPerm' defined but not used [-Wunused-variable]
164 | static DWORD KeyPerm[8][64] =
|