U++ framework
Do not panic. Ask here before giving up.

Home » Community » U++ community news and announcements » 2019.2 rc5
Re: 2019.2 (pre)released [message #52569 is a reply to message #52564] Tue, 22 October 2019 14:22 Go to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Oblivion wrote on Tue, 22 October 2019 12:55
Quote:

OK, so as we have to investigate issue reported by Tom error anyway, we might try to fix this as well.

Unfortunately, it seems like internal inconsistency of gtk2 dev libraries (AFAIK, I do not even use GTimeVal anywhere). Unfortunately, this error does not happend on any of distros I have available, so it is a bit hard for me to fix, but I guess we should fix it by specifying max gtk2 version somehow, e.g. -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_60 in compiler flags or perhaps even before gtk/glib include (that is prefered IMO) or by -Wno-deprecated-warnings in compiler flags.

https://tecnocode.co.uk/2019/08/24/gtimeval-deprecation-in-g lib-2-61-2/

Mirek
https://github.com/clearlinux/clr-installer/pull/545


My workaround was to suppress the message in CtrlCore/Gtk.h
This should be qualified though. IMO the auppression should be disabled in release mode.

#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif

#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>

#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif



Best regards,
Oblivion


Thank you, applied. I am not much worried about release here... This is temporary solution until the next release anyway.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 2019.2rc4
Next Topic: 2019.2
Goto Forum:
  


Current Time: Fri Sep 25 10:13:41 GMT+2 2026

Total time taken to generate the page: 0.01198 seconds