gstd-1.x
gstd-1.x copied to clipboard
Meson build warnings
The meson build of develop is giving the following warnings:
[8/132] Compiling C object 'gstd/e439d77@@gstd-core@sha/gstd_http.c.o' ../gstd/gstd_http.c: In function ‘do_request’: ../gstd/gstd_http.c:298:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] GstdHttpRequest *data_request_local = (GstdHttpRequest *) data_request; ^ ../gstd/gstd_http.c:346:3: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free (data_request); ^ ../gstd/gstd_http.c:346:3: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default] ../gstd/gstd_http.c: In function ‘server_callback’: ../gstd/gstd_http.c:363:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] GstdHttp *self = GSTD_HTTP (data); ^ ../gstd/gstd_http.c:366:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] GstdHttpRequest *data_request; ^ ../gstd/gstd_http.c:367:3: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] data_request = (GstdHttpRequest *) malloc (sizeof (GstdHttpRequest)); ^ ../gstd/gstd_http.c:367:38: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default] data_request = (GstdHttpRequest *) malloc (sizeof (GstdHttpRequest)); ^ ../gstd/gstd_http.c: In function ‘gstd_http_start’: ../gstd/gstd_http.c:404:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] GstdHttp *self = GSTD_HTTP (base); ^ ../gstd/gstd_http.c: In function ‘gstd_http_init_get_option_group’: ../gstd/gstd_http.c:453:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] GstdHttp *self = GSTD_HTTP (base); ^ ../gstd/gstd_http.c: In function ‘gstd_http_stop’: ../gstd/gstd_http.c:487:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] GstdHttp *self = GSTD_HTTP (base);