Menu

Code Commit Log


Commit Date  
[r171] by ludov

Fix compiler warning

v_config.c: In function ‘decode_options’:
v_config.c:500:15: warning: cast from function call of type ‘char *’ to non-matching type ‘int’ [-Wbad-function-cast]

2013-09-04 10:47:27 Tree
[r170] by ludov

Fix compiler warning

vgrabbj.c: In function ‘v_error’:
vgrabbj.c:104:7: warning: format not a string literal and no format arguments [-Wformat-security]
vgrabbj.c:109:7: warning: format not a string literal and no format arguments [-Wformat-security]

2013-09-04 10:42:58 Tree
[r169] by ludov

Fix compiler warning

v_utils.c: In function ‘sigterm’:
v_utils.c:221:18: warning: unused parameter ‘sig’ [-Wunused-parameter]
v_utils.c: In function ‘sighup’:
v_utils.c:231:17: warning: unused parameter ‘sig’ [-Wunused-parameter]

2013-09-04 10:41:25 Tree
[r168] by ludov

Fix compiler warning

v_options.h:69:3: warning: missing initializer [-Wmissing-field-initializers]
v_options.h:69:3: warning: (near initialization for ‘l_opt[26].standard’) [-Wmissing-field-initializers]
v_options.h:90:3: warning: missing initializer [-Wmissing-field-initializers]
v_options.h:90:3: warning: (near initialization for ‘l_opt[43].next’) [-Wmissing-field-initializers]

2013-09-04 10:40:18 Tree
[r167] by ludov

Fix compiler warning

./v_plist.h:25:3: warning: missing initializer [-Wmissing-field-initializers]
./v_plist.h:25:3: warning: (near initialization for ‘plist[0].mul’) [-Wmissing-field-initializers]
./v_plist.h:42:3: warning: missing initializer [-Wmissing-field-initializers]
./v_plist.h:42:3: warning: (near initialization for ‘plist[17].mul’) [-Wmissing-field-initializers]

2013-09-04 10:38:41 Tree
[r166] by ludov

Declare local functions as static functions

Fix compiler warnings:
warning: no previous prototype for ‘foobar’ [-Wmissing-prototypes]

2013-09-04 10:37:17 Tree
[r165] by ludov

Use const char * for constant C-strings

Fix compiler warnings:
v_plist.h:26:3: warning: initialization discards ‘const’ qualifier from
pointer target type [enabled by default]
v_plist.h:27:3: warning: initialization discards ‘const’ qualifier from
pointer target type [enabled by default]
etc.

2013-09-04 10:12:53 Tree
[r164] by ludov

Ue the correct type for signal handlers

Fix compilere warnings:
v_utils.c:236:3: warning: passing argument 2 of ‘signal’ from incompatible pointer type [enabled by default]
In file included from vgrabbj.h:48:0,
from v_utils.h:24,
from v_utils.c:24:
/usr/include/signal.h:101:23: note: expected ‘__sighandler_t’ but argument is of type ‘void (*)(void)’

2013-09-04 10:01:25 Tree
[r163] by ludov

Remove a redundant declaration

Fix compiler warning:
In file included from v_config.c:26:0:
v_config.h:32:12: warning: redundant redeclaration of ‘signal_terminate’ [-Wredundant-decls]
In file included from v_config.h:26:0,
from v_config.c:26:
vgrabbj.h:308:24: note: previous declaration of ‘signal_terminate’ was here

2013-09-04 10:00:36 Tree
[r162] by ludov

Fix compiler warnings

vgrabbj.h:297:1: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
vgrabbj.h:298:1: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]

2013-09-04 09:53:43 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.