Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » 2019.2 rc5
Re: 2019.2 (pre)released [message #52564 is a reply to message #52549] Tue, 22 October 2019 12:55 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1094
Registered: August 2007
Senior Contributor
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


[Updated on: Tue, 22 October 2019 12:56]

Report message to a moderator

 
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: Thu May 16 22:27:40 CEST 2024

Total time taken to generate the page: 0.02343 seconds