Print42 - thermal printer software for Free42
|
01-12-2020, 12:03 PM
(This post was last modified: 01-12-2020 01:33 PM by Thomas Okken.)
Post: #28
|
|||
|
|||
RE: Print42 - thermal printer software for Free42
(01-11-2020 06:08 AM)Thomas Okken Wrote: Regarding the warnings, those are probably related to GTK. In the later GTK 3 versions, a few APIs were deprecated, but I'm sticking with them in order to be able to continue building in Ubuntu 12.04, which has a rather old version of GTK 3 (3.4.2). I don't know if it's possible to suppress those warnings, but they are harmless at any rate. I removed the -DGDK_DISABLE_DEPRECATED and -DGTK_DISABLE_DEPRECATED options, and put in -DGDK_DISABLE_DEPRECATION_WARNINGS instead. The build runs without warnings now in Ubuntu 12.04, 18.04, 19.10, and in Raspbian 10. I originally put in the -DGDK_DISABLE_DEPRECATED and -DGTK_DISABLE_DEPRECATED options when I started work on the transition to GTK 3, but now that that code is stable, those options (which serve to flush out GTK-2-isms) are no longer needed. The -DGDK_DISABLE_DEPRECATION_WARNINGS option gets rid of the warnings about API changes in GTK 3.24, which I don't care about (yet). |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 6 Guest(s)