Re: disable Gtk warnings



Have you built the libraries from the GTK+ sources or are you working with
devel rpms? If you've built the libraries, then you should use certain flags
during configure so you don't get any warnings:

--enable-debug=yes OR --enable-debug=minimum
and --enable-gc-friendly   for DEBUG libraries

--enable-debug=no for RELEASE libraries

-vc

----- Original Message ----- 
From: "Harsha(Hotmail)" <kmharsha hotmail com>
To: "Manoj tr" <trmanoj linuxmail org>
Cc: <gtk-app-devel-list gnome org>
Sent: Saturday, February 07, 2004 12:19 PM
Subject: Re: disable Gtk warnings



As for as I know my code is correct. It works fine in one version, since I
am linking gtk, gnome-print libraries
in other versions it gives vomits warnings, but my applications works fine
with out any segmentation fault, or mis-behaviors.
As for as our company policy I dont want to show technical warnings to a
common user. Just crash out! but dont show big
warnings. If it shows warning in my debug version It is wellcome, Why
should
it vomit warnings in release version ?

Thanks and regards


Harsha K.M.

Tally Solutions Pvt. Ltd.
Bangalore

kmharsha hotmail com
+91-9845262979

----- Original Message ----- 
From: "Manoj tr" <trmanoj linuxmail org>
To: "Harsha(Hotmail)" <kmharsha hotmail com>; "gtk"
<gtk-app-devel-list gnome org>
Sent: Saturday, February 07, 2004 12:12 PM
Subject: Re: disable Gtk warnings





Hi,

    I am developing an application in linux using Gtk+, GDK, glib and
gnome-print.

    Can any body tell me Is there any Debug & Release version of Gtk
Library?
    Or how can I disable warnings which Gtk shows.?

    It shows warning with source file name  and line number, which I
dont
want to display in release version of  my application

    Thanks and regards,

Hai Harsha,

     The best way to avoid warnings is please remove it by correcting
the
code. It is a good job to avoid segmentation fault and crash. The other
way
is run the application in graphically. If any segfault in ur application u
can debug it with gdb.


With Regards
Manoj

-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]