2012年1月28日土曜日

What Unsigned Long

what unsigned long

Paste number 127306: untitled

console-curses.c:212:31: warning: unused parameter 'sig' [-Wunused-parameter] static void Curses_Resize(int sig) {                               ^ 1 warning generated. net_chan.c:300:15: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]         if (sequence <= chan->incoming_sequence) {             ~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~ net_chan.c:319:19: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]         if (reliable_ack == chan->reliable_sequence)             ~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. net_udp.c:246:14: warning: unused parameter 'to' [-Wunused-parameter]                 net_addr_t to) {                            ^ net_udp.c:293:10: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]         if (ret == message->max_size) {             ~~~ ^  ~~~~~~~~~~~~~~~~~ 2 warnings generated. cg_hud.c:295:41: warning: unused parameter 'ps' [-Wunused-parameter] static void Cg_DrawTime(player_state_t *ps) {                                         ^ 1 warning generated. cg_view.c:48:36: warning: unused parameter 'ps' [-Wunused-parameter] void Cg_UpdateView(player_state_t *ps) {                                    ^ 1 warning generated. r_bsp_model.c:1012:16: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]         for (i = 0; i < sizeof(*header) / 4; i++)                     ~ ^ ~~~~~~~~~~~~~~~~~~~ 1 warning generated. r_capture.c:37:34: warning: unused parameter 'data' [-Wunused-parameter] static void R_FlushCapture(void *data) {                                  ^ 1 warning generated. r_draw.c:235:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]         while (*s && i < len && j < size) {                      ~ ^ ~~~ r_draw.c:235:28: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]         while (*s && i < len && j < size) {                                 ~ ^ ~~~~ 2 warnings generated. r_entity.c:203:27: warning: unused parameter 'data' [-Wunused-parameter] void R_CullEntities(void *data) {                           ^ 1 warning generated. r_gl.c:99:20: warning: assigning to 'void (*)(GLenum)' from 'void *' converts between void pointer and function pointer [-pedantic]                 qglActiveTexture = SDL_GL_GetProcAddress("glActiveTexture");                                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:100:26: warning: assigning to 'void (*)(GLenum)' from 'void *' converts between void pointer and function pointer [-pedantic]                 qglClientActiveTexture = SDL_GL_GetProcAddress("glClientActiveTexture");                                        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:106:17: warning: assigning to 'void (*)(GLuint, GLuint *)' from 'void *' converts between void pointer and function pointer [-pedantic]                 qglGenBuffers = SDL_GL_GetProcAddress("glGenBuffers");                               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:107:20: warning: assigning to 'void (*)(GLuint, GLuint *)' from 'void *' converts between void pointer and function pointer [-pedantic]                 qglDeleteBuffers = SDL_GL_GetProcAddress("glDeleteBuffers");                                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:108:17: warning: assigning to 'void (*)(GLenum, GLuint)' from 'void *' converts between void pointer and function pointer [-pedantic]                 qglBindBuffer = SDL_GL_GetProcAddress("glBindBuffer");                               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:109:17: warning: assigning to 'void (*)(GLenum, GLsizei, const GLvoid *, GLenum)' from 'void *' converts between void pointer and function pointer [-pedantic]                 qglBufferData = SDL_GL_GetProcAddress("glBufferData");                               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:115:19: warning: assigning to 'GLuint (*)(GLenum)' from 'void *' converts between void pointer and function pointer [-pedantic]                 qglCreateShader = SDL_GL_GetProcAddress("glCreateShader");                                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:116:19: warning: assigning to 'void (*)(GLuint)' from 'void *' converts between void pointer and function pointer [-pedantic]                 qglDeleteShader = SDL_GL_GetProcAddress("glDeleteShader");                                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:117:19: warning: assigning to 'void (*)(GLuint, GLuint, char **, GLuint *)' from 'void *' converts between void pointer and function pointer [-pedantic]                 qglShaderSource = SDL_GL_GetProcAddress("glShaderSource");                                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:118:20: warning: assigning to 'void (*)(GLuint)' from 'void *' converts between void pointer and function pointer [-pedantic]                 qglCompileShader = SDL_GL_GetProcAddress("glCompileShader");                                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:119:18: warning: assigning to 'void (*)(GLuint, GLenum, GLuint *)' from 'void *' converts between void pointer and function pointer [-pedantic]                 qglGetShaderiv = SDL_GL_GetProcAddress("glGetShaderiv");                                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.
Howie Long Unsigned Oakland Raiders 8x10 inch Photo
Learn more
c:120:23: warning: assigning to 'void (*)(GLuint, GLuint, GLuint *, char *)' from 'void *' converts between void pointer and function pointer [-pedantic] qglGetShaderInfoLog = SDL_GL_GetProcAddress("glGetShaderInfoLog"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:121:20: warning: assigning to 'GLuint (*)(void)' from 'void *' converts between void pointer and function pointer [-pedantic] qglCreateProgram = SDL_GL_GetProcAddress("glCreateProgram"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:122:20: warning: assigning to 'void (*)(GLuint)' from 'void *' converts between void pointer and function pointer [-pedantic] qglDeleteProgram = SDL_GL_GetProcAddress("glDeleteProgram"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:123:19: warning: assigning to 'void (*)(GLuint, GLuint)' from 'void *' converts between void pointer and function pointer [-pedantic] qglAttachShader = SDL_GL_GetProcAddress("glAttachShader"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:124:19: warning: assigning to 'void (*)(GLuint, GLuint)' from 'void *' converts between void pointer and function pointer [-pedantic] qglDetachShader = SDL_GL_GetProcAddress("glDetachShader"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:125:18: warning: assigning to 'void (*)(GLuint)' from 'void *' converts between void pointer and function pointer [-pedantic] qglLinkProgram = SDL_GL_GetProcAddress("glLinkProgram"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:126:17: warning: assigning to 'void (*)(GLuint)' from 'void *' converts between void pointer and function pointer [-pedantic] qglUseProgram = SDL_GL_GetProcAddress("glUseProgram"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:127:19: warning: assigning to 'void (*)(GLuint, GLenum, GLuint *)' from 'void *' converts between void pointer and function pointer [-pedantic] qglGetProgramiv = SDL_GL_GetProcAddress("glGetProgramiv"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:128:24: warning: assigning to 'void (*)(GLuint, GLuint, GLuint *, char *)' from 'void *' converts between void pointer and function pointer [-pedantic] qglGetProgramInfoLog = SDL_GL_GetProcAddress("glGetProgramInfoLog"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:129:25: warning: assigning to 'GLint (*)(GLuint, const char *)' from 'void *' converts between void pointer and function pointer [-pedantic] qglGetUniformLocation = SDL_GL_GetProcAddress("glGetUniformLocation"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:130:16: warning: assigning to 'void (*)(GLint, GLint)' from 'void *' converts between void pointer and function pointer [-pedantic] qglUniform1i = SDL_GL_GetProcAddress("glUniform1i"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:131:16: warning: assigning to 'void (*)(GLint, GLfloat)' from 'void *' converts between void pointer and function pointer [-pedantic] qglUniform1f = SDL_GL_GetProcAddress("glUniform1f"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:132:17: warning: assigning to 'void (*)(GLint, int, GLfloat *)' from 'void *' converts between void pointer and function pointer [-pedantic] qglUniform3fv = SDL_GL_GetProcAddress("glUniform3fv"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:133:17: warning: assigning to 'void (*)(GLint, int, GLfloat *)' from 'void *' converts between void pointer and function pointer [-pedantic] qglUniform4fv = SDL_GL_GetProcAddress("glUniform4fv"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:134:24: warning: assigning to 'GLint (*)(GLuint, const char *)' from 'void *' converts between void pointer and function pointer [-pedantic] qglGetAttribLocation = SDL_GL_GetProcAddress("glGetAttribLocation"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:137:30: warning: assigning to 'void (*)(GLuint)' from 'void *' converts between void pointer and function pointer [-pedantic] qglEnableVertexAttribArray = SDL_GL_GetProcAddress( ^ ~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:139:31: warning: assigning to 'void (*)(GLuint)' from 'void *' converts between void pointer and function pointer [-pedantic] qglDisableVertexAttribArray = SDL_GL_GetProcAddress( ^ ~~~~~~~~~~~~~~~~~~~~~~ r_gl.c:141:26: warning: assigning to 'void (*)(GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *)' from 'void *' converts between void pointer and function pointer [-pedantic] qglVertexAttribPointer = SDL_GL_GetProcAddress("glVertexAttribPointer"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 29 warnings generated. r_image.c:80:16: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (i = 0; i < NUM_GL_TEXTUREMODES; i++) { ~ ^ ~~~~~~~~~~~~~~~~~~~ r_image.
Howie Long Unsigned Sports Illustrated Magazine - July 22, 1985
Learn more
c:191:13: warning: incompatible pointer types assigning to 'void (*)(char *, byte *, int, int, int)' from 'void (*)(char *, byte *, int, int)' [-Wincompatible-pointer-types] Img_Write = &Img_WriteTGARLE; ^ ~~~~~~~~~~~~~~~~ 2 warnings generated. r_light.c:158:25: warning: unused parameter 'data' [-Wunused-parameter] void R_MarkLights(void *data) { ^ 1 warning generated. r_lightmap.c:86:16: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (i = 0; i < r_lightmaps.size - w; i++) { ~ ^ ~~~~~~~~~~~~~~~~~~~~ r_lightmap.c:90:37: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (r_lightmaps.allocated[i + j] >= best) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ r_lightmap.c:92:37: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (r_lightmaps.allocated[i + j] > best2) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~ r_lightmap.c:101:15: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] if (best + h > r_lightmaps.size) ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ r_lightmap.c:307:23: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] if (r_lightmaps.size > max) ~~~~~~~~~~~~~~~~ ^ ~~~ 5 warnings generated. r_material.c:121:57: warning: unused parameter 'surf' [-Wunused-parameter] static inline void R_StageVertex(const r_bsp_surface_t *surf, ^ r_material.c:122:20: warning: unused parameter 'stage' [-Wunused-parameter] const r_stage_t *stage, const vec3_t in, vec3_t out) { ^ r_material.c:584:21: warning: comparison of integers of different signs: 'GLenum' (aka 'unsigned int') and 'int' [-Wsign-compare] if (s->blend.src == -1) { ~~~~~~~~~~~~ ^ ~~ r_material.c:592:22: warning: comparison of integers of different signs: 'GLenum' (aka 'unsigned int') and 'int' [-Wsign-compare] if (s->blend.dest == -1) { ~~~~~~~~~~~~~ ^ ~~ 4 warnings generated. r_model.c:229:16: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (i = 0; i < NUM_MODEL_FORMATS; i++, format++) { ~ ^ ~~~~~~~~~~~~~~~~~ 1 warning generated. r_program.c:262:13: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (len < 0) { ~~~ ^ ~ r_program.c:282:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (len < 0) ~~~ ^ ~ r_program.c:306:38: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if ((len = Fs_LoadFile(path, &buf)) == -1) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~ r_program.c:406:13: warning: assigning to 'void (*)(void)' from 'void *' converts between void pointer and function pointer [-pedantic] prog->init = init; ^ ~~~~ r_program.c:416:12: warning: assigning to 'void (*)(void)' from 'void *' converts between void pointer and function pointer [-pedantic] prog->use = use; ^ ~~~ r_program.c:513:49: warning: passing 'void (void)' to parameter of type 'void *' converts between void pointer and function pointer [-pedantic] r_state.world_program = R_LoadProgram("world", R_InitWorldProgram, ^~~~~~~~~~~~~~~~~~ r_program.c:365:59: note: passing argument to parameter 'init' here static r_program_t *R_LoadProgram(const char *name, void *init, void *use) { ^ r_program.c:514:4: warning: passing 'void (void)' to parameter of type 'void *' converts between void pointer and function pointer [-pedantic] R_UseWorldProgram); ^~~~~~~~~~~~~~~~~ r_program.c:365:71: note: passing argument to parameter 'use' here static r_program_t *R_LoadProgram(const char *name, void *init, void *use) { ^ r_program.c:516:47: warning: passing 'void (void)' to parameter of type 'void *' converts between void pointer and function pointer [-pedantic] r_state.mesh_program = R_LoadProgram("mesh", R_InitMeshProgram, ^~~~~~~~~~~~~~~~~ r_program.c:365:59: note: passing argument to parameter 'init' here static r_program_t *R_LoadProgram(const char *name, void *init, void *use) { ^ r_program.c:517:4: warning: passing 'void (void)' to parameter of type 'void *' converts between void pointer and function pointer [-pedantic] R_UseMeshProgram); ^~~~~~~~~~~~~~~~ r_program.c:365:71: note: passing argument to parameter 'use' here static r_program_t *R_LoadProgram(const char *name, void *init, void *use) { ^ r_program.c:519:47: warning: passing 'void (void)' to parameter of type 'void *' converts between void pointer and function pointer [-pedantic] r_state.
warp_program = R_LoadProgram("warp", R_InitWarpProgram, ^~~~~~~~~~~~~~~~~ r_program.c:365:59: note: passing argument to parameter 'init' here static r_program_t *R_LoadProgram(const char *name, void *init, void *use) { ^ r_program.c:520:4: warning: passing 'void (void)' to parameter of type 'void *' converts between void pointer and function pointer [-pedantic] R_UseWarpProgram); ^~~~~~~~~~~~~~~~ r_program.c:365:71: note: passing argument to parameter 'use' here static r_program_t *R_LoadProgram(const char *name, void *init, void *use) { ^ r_program.c:522:51: warning: passing 'void (void)' to parameter of type 'void *' converts between void pointer and function pointer [-pedantic] r_state.pro_program = R_LoadProgram("pro", NULL, R_UseProProgram); ^~~~~~~~~~~~~~~ r_program.c:365:71: note: passing argument to parameter 'use' here static r_program_t *R_LoadProgram(const char *name, void *init, void *use) { ^ 12 warnings generated. r_state.c:50:13: warning: comparison of integers of different signs: 'GLuint' (aka 'unsigned int') and 'GLint' (aka 'int') [-Wsign-compare] if (texnum == r_state.active_texunit->texnum) ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_state.c:63:13: warning: comparison of integers of different signs: 'GLuint' (aka 'unsigned int') and 'GLint' (aka 'int') [-Wsign-compare] if (texnum == texunit_lightmap.texnum) ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ r_state.c:78:13: warning: comparison of integers of different signs: 'GLuint' (aka 'unsigned int') and 'GLint' (aka 'int') [-Wsign-compare] if (texnum == texunit_deluxemap.texnum) ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ r_state.c:93:13: warning: comparison of integers of different signs: 'GLuint' (aka 'unsigned int') and 'GLint' (aka 'int') [-Wsign-compare] if (texnum == texunit_normalmap.texnum) ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. r_surface.c:262:57: warning: unused parameter 'surfs' [-Wunused-parameter] void R_DrawBackSurfaces_default(const r_bsp_surfaces_t *surfs) { ^ 1 warning generated. ui_servers.c:40:46: warning: unused parameter 'data' [-Wunused-parameter] static TW_CALL void Ui_Servers_Refresh(void *data) { ^ 1 warning generated. cl_client.c:186:19: warning: comparison of integers of different signs: 'entity_animation_t' and 'const int' [-Wsign-compare] if (a->animation > md3->num_animations) { ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ 1 warning generated. cl_console.c:208:26: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] if (cls.chat_state.len > (r_context.width / cw) - (skip + 1)) ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cl_http.c:57:9: warning: unused parameter 'p' [-Wunused-parameter] void *p) { ^ 1 warning generated. cl_keys.c:170:15: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] if (ks->pos < strlen(ks->lines[ks->edit_line])) ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cl_keys.c:120:12: warning: unused parameter 'time' [-Wunused-parameter] unsigned time) { ^ cl_keys.c:312:53: warning: unused parameter 'unicode' [-Wunused-parameter] static void Cl_KeyGame(unsigned key, unsigned short unicode, boolean_t down, ^ cl_keys.c:345:12: warning: unused parameter 'time' [-Wunused-parameter] unsigned time) { ^ cl_keys.c:563:52: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = (ks->edit_line + 1) % KEY_HISTORYSIZE; i != ks->edit_line; i = (i ~ ^ ~~~~~~~~~~~~~ 5 warnings generated. cl_view.c:328:35: warning: unused parameter 'data' [-Wunused-parameter] static void Cl_PopulateView(void *data) { ^ 1 warning generated. sv_admin.c:49:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(addr, 0, sizeof(addr)); ~~~~ ^~~~ 1 warning generated. sv_entity.c:339:9: warning: arithmetic on a pointer to void is a GNU extension [-pedantic,-Wpointer-arith] ent = EDICT_FOR_NUM(e); ^~~~~~~~~~~~~~~~ ./sv_types.h:181:66: note: expanded from: #define EDICT_FOR_NUM(n)( (g_edict_t *)((void *)svs.game->edicts + svs.game->edict_size * (n)) ) ~~~~~~~~~~~~~~~~~~~~~~~~ ^ 1 warning generated. sv_game.c:82:45: warning: arithmetic on pointers to void is a GNU extension [-pedantic,-Wpointer-arith] Com_Warn("Sv_SetModel %d: NULL.\n", (int) NUM_FOR_EDICT(ent)); ^~~~~~~~~~~~~~~~~~ ./sv_types.h:182:40: note: expanded from: #define NUM_FOR_EDICT(e)( ((void *)(e) - (void *)svs.game->edicts) / svs.game->edict_size ) ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated.
sv_init.c:87:9: warning: arithmetic on a pointer to void is a GNU extension [-pedantic,-Wpointer-arith] ent = EDICT_FOR_NUM(i); ^~~~~~~~~~~~~~~~ ./sv_types.h:181:66: note: expanded from: #define EDICT_FOR_NUM(n)( (g_edict_t *)((void *)svs.game->edicts + svs.game->edict_size * (n)) ) ~~~~~~~~~~~~~~~~~~~~~~~~ ^ sv_init.c:243:22: warning: arithmetic on a pointer to void is a GNU extension [-pedantic,-Wpointer-arith] g_edict_t *edict = EDICT_FOR_NUM(i + 1); ^~~~~~~~~~~~~~~~~~~~ ./sv_types.h:181:66: note: expanded from: #define EDICT_FOR_NUM(n)( (g_edict_t *)((void *)svs.game->edicts + svs.game->edict_size * (n)) ) ~~~~~~~~~~~~~~~~~~~~~~~~ ^ 2 warnings generated. sv_main.c:104:36: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (statusLength + playerLength >= sizeof(status)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~ sv_main.c:646:22: warning: arithmetic on a pointer to void is a GNU extension [-pedantic,-Wpointer-arith] g_edict_t *edict = EDICT_FOR_NUM(i); ^~~~~~~~~~~~~~~~ ./sv_types.h:181:66: note: expanded from: #define EDICT_FOR_NUM(n)( (g_edict_t *)((void *)svs.game->edicts + svs.game->edict_size * (n)) ) ~~~~~~~~~~~~~~~~~~~~~~~~ ^ sv_main.c:833:16: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (i = 0; i < sizeof(cl->name); i++) { ~ ^ ~~~~~~~~~~~~~~~~ 3 warnings generated. sv_send.c:60:6: warning: arithmetic on pointers to void is a GNU extension [-pedantic,-Wpointer-arith] n = NUM_FOR_EDICT(ent); ^~~~~~~~~~~~~~~~~~ ./sv_types.h:182:40: note: expanded from: #define NUM_FOR_EDICT(e)( ((void *)(e) - (void *)svs.game->edicts) / svs.game->edict_size ) ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ sv_send.c:98:6: warning: arithmetic on pointers to void is a GNU extension [-pedantic,-Wpointer-arith] n = NUM_FOR_EDICT(ent); ^~~~~~~~~~~~~~~~~~ ./sv_types.h:182:40: note: expanded from: #define NUM_FOR_EDICT(e)( ((void *)(e) - (void *)svs.game->edicts) / svs.game->edict_size ) ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ sv_send.c:187:6: warning: arithmetic on pointers to void is a GNU extension [-pedantic,-Wpointer-arith] n = NUM_FOR_EDICT(ent); ^~~~~~~~~~~~~~~~~~ ./sv_types.h:182:40: note: expanded from: #define NUM_FOR_EDICT(e)( ((void *)(e) - (void *)svs.game->edicts) / svs.game->edict_size ) ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ sv_send.c:343:33: warning: arithmetic on pointers to void is a GNU extension [-pedantic,-Wpointer-arith] Msg_WriteShort(&sv.multicast, NUM_FOR_EDICT(entity)); ^~~~~~~~~~~~~~~~~~~~~ ./sv_types.h:182:40: note: expanded from: #define NUM_FOR_EDICT(e)( ((void *)(e) - (void *)svs.game->edicts) / svs.game->edict_size ) ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ sv_send.c:456:11: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] if (size == -1) { // properly terminated demo file ~~~~ ^ ~~ 5 warnings generated. clang: warning: argument unused during compilation: '-std=c99' g_ballistics.c:96:11: error: array type 'vec3_t' (aka 'vec_t [3]') is not assignable tr->end = gi.Trace(pos, NULL, NULL, start, tr->ent, MASK_WATER).end; ~~~~~~~ ^ g_ballistics.c:139:77: warning: unused parameter 'surf' [-Wunused-parameter] static void G_BulletMark(vec3_t org, c_bsp_plane_t *plane, c_bsp_surface_t *surf){ ^ g_ballistics.c:155:75: warning: unused parameter 'surf' [-Wunused-parameter] static void G_BurnMark(vec3_t org, c_bsp_plane_t *plane, c_bsp_surface_t *surf, byte scale){ ^ g_ballistics.c:681:66: warning: unused parameter 'aimdir' [-Wunused-parameter] void G_LightningProjectile(g_edict_t *self, vec3_t start, vec3_t aimdir, int damage, int knockback){ ^ 3 warnings and 1 error generated. make[4]: *** [game_la-g_ballistics.

These are our most popular posts: what unsigned long

[PATCH net-next 30/32] sfc: Make all MAC statistics consistently 64 ...

c b/arch/alpha/kernel/osf sys.c index 01e8715..be0e80f 100644 --- a/arch/alpha/kernel/osf sys.c +++ b/arch/alpha/kernel/osf sys.c @@ -1147,7 +1147,7 @@ arch get unmapped area 1(unsigned long addr, unsigned long ... read more

Mysql crashed once with an "Assertion failure" this morning, how ...

cmodel.c: In function : cmodel.c:519:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cmd.c: In function : cmd.c:149:17: warning: comparison between signed and ..... signed and unsigned integer expressions [-Wsign-compare] /usr/lib/libAntTweakBar.so: undefined reference to `std::basic stringchar, std::char traits, std::allocator ::find first of(char const*, unsigned long, unsigned long) const ... read more

Paste number 127295: q2w

Currently we use type u64 for byte counts, which can very quickly exceed 2^32, and unsigned long for packet counts, which do not. But it can still take only 20-something minutes to send or receive 2^32 packets, and not all ... read more

diff --git a/Documentation/dontdiff b/Documentation/dontdiff index ...

... unused parameter [-Wunused-parameter] void Cg UpdateView(player state t *ps) { ^ 1 warning generated. r bsp model.c:1012:16: warning: comparison of integers of different signs: and unsigned long [-Wsign-compare] for (i = 0; ... read more

Related Posts



0 コメント:

コメントを投稿