G_GNUC_INTERNAL

View: New views
4 Messages — Rating Filter:   Alert me  

G_GNUC_INTERNAL

by Mike F :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm attempting to compile pygtkglext under windows for python 2.6. I've downloaded the 1.1.0 source, and have gtk+ 2.20 dev environment

The source references the G_GNUC_INTERNAL attribute, which I can find no reference to in gtk. Am I missing something?

_______________________________________________
gtkglext-list mailing list
gtkglext-list@...
http://mail.gnome.org/mailman/listinfo/gtkglext-list

Re: G_GNUC_INTERNAL

by Braden McDaniel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2009-06-24 at 18:01 +1000, Michael Frankham wrote:
> I'm attempting to compile pygtkglext under windows for python 2.6.
> I've downloaded the 1.1.0 source, and have gtk+ 2.20 dev environment
>
> The source references the G_GNUC_INTERNAL attribute, which I can find
> no reference to in gtk. Am I missing something?

IIRC, it's defined in glib headers.

--
Braden McDaniel <braden@...>

_______________________________________________
gtkglext-list mailing list
gtkglext-list@...
http://mail.gnome.org/mailman/listinfo/gtkglext-list

Parent Message unknown Re: G_GNUC_INTERNAL

by Mike F :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?


> On Wed, 2009-06-24 at 18:01 +1000, Michael Frankham wrote:
>> I'm attempting to compile pygtkglext under windows for python 2.6.
>> I've downloaded the 1.1.0 source, and have gtk+ 2.20 dev environment
>>
>> The source references the G_GNUC_INTERNAL attribute, which I can find
>> no reference to in gtk. Am I missing something?
>
> IIRC, it's defined in glib headers.
>
> --
> Braden McDaniel <braden endoframe com>


_______________________________________________
gtkglext-list mailing list
gtkglext-list@...
http://mail.gnome.org/mailman/listinfo/gtkglext-list

Re: G_GNUC_INTERNAL

by Braden McDaniel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...>

_______________________________________________
gtkglext-list mailing list
gtkglext-list@...
http://mail.gnome.org/mailman/listinfo/gtkglext-list