Re: [GtkGLExt] G_GNUC_INTERNAL
- From: Braden McDaniel <braden endoframe com>
- To: gtkglext-list gnome org
- Subject: Re: [GtkGLExt] G_GNUC_INTERNAL
- Date: Thu, 25 Jun 2009 02:31:43 -0400
On Thu, 2009-06-25 at 15:33 +1000, Michael Frankham wrote:
> I've seen a few things that indicate that this should be the case, that it should be declared in the gmacros.h file, but I can find no reference to it in there or indeed anywhere in glib. Can anyone clarify further?
Please don't top-post.
On my system:
$ echo "#include <glib.h>
> #define G_GNUC_INTERNAL
> " > g-gnuc-internal.c
$ gcc $(pkg-config --cflags glib-2.0) g-gnuc-internal.c
g-gnuc-internal.c:2:1: warning: "G_GNUC_INTERNAL" redefined
In file included from /usr/include/glib-2.0/glib/gtypes.h:34,
from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from g-gnuc-internal.c:1:
/usr/lib64/glib-2.0/include/glibconfig.h:149:1: warning: this is the location of the previous definition
/usr/lib/gcc/x86_64-redhat-linux/4.4.0/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
--
Braden McDaniel <braden endoframe com>
[
Date Prev][Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]