Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GLib and Pango Warnings

4 views
Skip to first unread message

ldries46

unread,
Jul 4, 2009, 9:15:29 AM7/4/09
to
I do get the following warnings in the DOS window since I use GPL 2009 at
the moment that I run the program:
(c_to_ada.exe:444): GLib_WARNING **: Passing a non-NULL package to
g_win32_get_package_installation_directory() is depreciated and will not
work in GLib after 2.18.
(c_to_ada.exe:444): Pango_WARNING **: error reading alias file:
D:\PROGRA~1\GNAT\2009\etc\pango\pango.aliases:4: Line is not of the form
KEY=VALUE or KEY+=VALUE

In the debugger console I see
file e:/ada/project/ctoada/c_to_ada.exe
(gdb) run
[New thread 444.0x30c]
[New thread 444.0x768]
Please note the 444 which also appears after the name of the program earlier

I have not altererd anything in the program but only compiled the program
completely with the new compiler.

What is the reason of these warnings that also appears in a simular way in
another program and how can I stop these from appearing

L. Dries


Stephen Leake

unread,
Jul 5, 2009, 10:06:03 AM7/5/09
to
"ldries46" <ldri...@planet.nl> writes:

> I do get the following warnings in the DOS window since I use GPL 2009 at
> the moment that I run the program:
> (c_to_ada.exe:444): GLib_WARNING **: Passing a non-NULL package to
> g_win32_get_package_installation_directory() is depreciated and will not
> work in GLib after 2.18.
> (c_to_ada.exe:444): Pango_WARNING **: error reading alias file:
> D:\PROGRA~1\GNAT\2009\etc\pango\pango.aliases:4: Line is not of the form
> KEY=VALUE or KEY+=VALUE

I get these as well.

I fixed the second one by editing the '...pango.aliases' file; add
spaces around the '='.

I haven't investigated the first one yet.

> What is the reason of these warnings

They seem pretty clear on their own; the second one is about bad
syntax, the first about a subprogram that will be changing its
behavior in the next release.

--
-- Stephe

ldries46

unread,
Jul 7, 2009, 6:11:33 AM7/7/09
to
It's a pitty but the solution given does not work with me.

"Stephen Leake" <stephe...@stephe-leake.org> schreef in bericht
news:uskhb6...@stephe-leake.org...

Jack Mitchell

unread,
Sep 1, 2009, 6:26:40 PM9/1/09
to
The pango warning disappeared for me by adding a space before the final
equals sign
E.G.
times = "times new roman"
instead of
times= "times new roman"


In message <4a531f4d$0$8972$703f...@news.kpn.nl>, ldries46
<ldri...@planet.nl> writes

--
Jack Mi_Remove_tchell

0 new messages