Re: g_remove

2011-02-19 Thread Tor Lillqvist
>> Glib just cannot require 64bit integer type and be C89 standard compliant > Right. And as far as I know, nobody has claimed it is. Actually, thinking a bit more, isn't it perfectly OK for a fully C89 compliant compiler to provide whatever non-standard stuff it likes as long as the identifiers

Re: g_remove

2011-02-19 Thread Tor Lillqvist
> Glib just cannot require 64bit integer > type and be C89 standard compliant Right. And as far as I know, nobody has claimed it is. --tml ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-de

Re: g_remove

2011-02-19 Thread Jaroslav Šmíd
Glib itself wouldn't even compile if I removed that before compilation as it wouldn't find 64bit integer type. Glib just cannot require 64bit integer type and be C89 standard compliant at the same time when C89 doesn't require existence of 64bit integer type. Ok, I won't troll anymore. On 02/

Re: g_remove

2011-02-19 Thread Tor Lillqvist
> - doesn't compile on x86-32 linux with glibc when I remove all typedefes and > occurences of long long in header files Equally interesting, it doesn't compile if you replace all instances of the letter 'a' in your header files with the letter 'b'. Or, if you feel really adventurous, with the let

Re: g_remove

2011-02-19 Thread Colomban Wendling
Le 19/02/2011 15:06, Jaroslav Šmíd a écrit : > #include > > int main(int argc, char **argv) > { > gint64 a; > return 0; > } > > - doesn't compile on x86-32 linux with glibc when I remove all typedefes > and occurences of long long in header files (long long is not part of > C89 standard and

Re: g_remove

2011-02-19 Thread Jaroslav Šmíd
#include int main(int argc, char **argv) { gint64 a; return 0; } - doesn't compile on x86-32 linux with glibc when I remove all typedefes and occurences of long long in header files (long long is not part of C89 standard and it would be unfair to leave it there even if it is some compile

Re: g_remove

2011-02-19 Thread Tor Lillqvist
> that means glib and any app > using glib is indirectly dependent on compiler with C99 support. Interesting. I guess nobody told those who continue to manage to build GLib and the GTK+ stack in general with Microsoft's compiler, which does not claim C99 compliance. --tml

Re: g_remove

2011-02-19 Thread David Nečas
On Sat, Feb 19, 2011 at 02:42:14PM +0100, Jaroslav Šmíd wrote: > Hmm, resending, got identified as spam ... I would not expect such intelligence from the spam filter but there you have it... Yeti ___ gtk-app-devel-list mailing list gtk-app-devel-list@g

Re: g_remove

2011-02-19 Thread David Nečas
On Sat, Feb 19, 2011 at 02:37:51PM +0100, Jaroslav Šmíd wrote: > > Maybe. Doesn't meen you didn't tell which one. I did not have to because everyone except you understood the context. Since you did not ask the question and evidently know better your failure to understand is of little concern. > *

Re: g_remove

2011-02-19 Thread Jaroslav Šmíd
Hmm, resending, got identified as spam ... On 02/19/2011 02:37 PM, Jaroslav Šmíd wrote: On 02/19/2011 10:19 AM, David Nečas wrote: On Sat, Feb 19, 2011 at 01:21:37AM +0100, Jaroslav Šmíd wrote: C99 has no implicit int ., so don't ignore compiler's warning and fix it. David Nečas: "All accordi

Re: g_remove

2011-02-19 Thread Jaroslav Šmíd
On 02/19/2011 10:19 AM, David Nečas wrote: On Sat, Feb 19, 2011 at 01:21:37AM +0100, Jaroslav Šmíd wrote: C99 has no implicit int shits, so don't ignore compiler's warning and fix it. David Nečas: "All according to the C standard". Right, you didn't tell us which one, one could think you mean "

Re: how to connect the gnome aplication(gtk+) to database

2011-02-19 Thread Vivien Malerba
On 19 February 2011 09:22, angel kingdom wrote: > HI, > i am working on a application(project Gutenberg ) which is written in gtk+ > and i want to connect this application with database server to store > dictionary.i am having the Dictionary in xml format. > So,please guide me or give me a link o

Re: g_remove

2011-02-19 Thread David Nečas
On Sat, Feb 19, 2011 at 01:21:37AM +0100, Jaroslav Šmíd wrote: > C99 has no implicit int shits, so don't ignore compiler's warning and > fix it. > > David Nečas: "All according to the C standard". Right, you didn't tell > us which one, one could think you mean "every C standard out there". My

Re: how to connect the gnome aplication(gtk+) to database

2011-02-19 Thread Alexander Nagel
Am Sat, 19 Feb 2011 03:22:52 -0500 schrieb angel kingdom : > HI, > i am working on a application(project Gutenberg ) which is written in > gtk+ and i want to connect this application with database server to > store dictionary.i am having the Dictionary in xml format. > So,please guide me or give m

how to connect the gnome aplication(gtk+) to database

2011-02-19 Thread angel kingdom
HI, i am working on a application(project Gutenberg ) which is written in gtk+ and i want to connect this application with database server to store dictionary.i am having the Dictionary in xml format. So,please guide me or give me a link of how to do this work. I am using ubuntu 9.04 And for databa

Re: interested in gtk+ project development

2011-02-19 Thread Emmanuele Bassi
On Sat, 2011-02-19 at 00:56 +0100, Jaroslav Šmíd wrote: > If you are currently learning C, please, learn the difference between > size_t, int and long - some of glib/GTK devs didn't and because of that > they use int in places where size_t is more appropriate. where size_t is appropriate, glib d