Re: g_remove



#include <glib.h>

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 compiler extension of the C89 standard). Because there is no other 64bit integer type on such system, I cannot typedef gint64 to something else. I doubt this will get fixed, glib requires 64bit integer type (as stated in docs), C89 doesn't guarantee its existence and no C89 type is 64bit on x86-32 linux.

On 02/19/2011 02:50 PM, David NeÄas wrote:
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.

* direct, indirect, build time or runtime ... it is depency. Don't know
names, but if you want, you can find out by yourself.

It also has dependences that require C++, GMP and Perl â and they are
equally irrelvant.

Demonstrate that a C99 compiler is required to compile GLib-using
programs.  And I will go and fill this as a bug in Gnome bugzilla and it
will be fixed because the developers have repeatedly declared GLib is
C89-compatible.

Yeti




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