Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger: Compiler warnings on Debian Jessie #225

Closed
frlan opened this issue Apr 29, 2015 · 3 comments
Closed

Debugger: Compiler warnings on Debian Jessie #225

frlan opened this issue Apr 29, 2015 · 3 comments

Comments

@frlan
Copy link
Member

frlan commented Apr 29, 2015

When compiling debugger plugin with waf using git c1a1a1d warnings about deprecated functions are printed:

[ 43/243] c: debugger/src/debug_module.c -> _build_/debugger/src/debug_module.c.1.o
../debugger/src/dconfig.c: In function ‘saving_thread_func’:
../debugger/src/dconfig.c:314:2: warning: ‘g_cond_timed_wait’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:285) [-Wdeprecated-declarations]
  while (!g_cond_timed_wait(cond, change_config_mutex, &interval));
  ^
../debugger/src/dconfig.c: In function ‘config_init’:
../debugger/src/dconfig.c:461:2: warning: ‘g_mutex_new’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:277) [-Wdeprecated-declarations]
  change_config_mutex = g_mutex_new();
  ^
../debugger/src/dconfig.c:462:2: warning: ‘g_cond_new’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:281) [-Wdeprecated-declarations]
  cond = g_cond_new();
  ^
../debugger/src/dconfig.c:463:2: warning: ‘g_thread_create’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:104): Use 'g_thread_new' instead [-Wdeprecated-declarations]
  saving_thread = g_thread_create(saving_thread_func, NULL, TRUE, NULL);
  ^
../debugger/src/dconfig.c: In function ‘config_destroy’:
../debugger/src/dconfig.c:474:2: warning: ‘g_mutex_free’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:279) [-Wdeprecated-declarations]
  g_mutex_free(change_config_mutex);
  ^
../debugger/src/dconfig.c:475:2: warning: ‘g_cond_free’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:283) [-Wdeprecated-declarations]
  g_cond_free(cond);
  ^

Using GTK 2.24.25, GLib 2.42.1

@frlan
Copy link
Member Author

frlan commented Jun 22, 2017

waf is not removed.

@elextr
Copy link
Member

elextr commented Jun 22, 2017

s/not/now/

@frlan
Copy link
Member Author

frlan commented Jun 23, 2017

Hmm. True.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants