Giter Site home page Giter Site logo

gobject-list's People

Contributors

danni avatar lekensteyn avatar lyude avatar matze avatar phako avatar prince781 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gobject-list's Issues

Fails to compile since glib 2.56

% make
cc -fPIC -rdynamic -g -c -Wall -Wextra `pkg-config --cflags gobject-2.0` -DHAVE_LIBUNWIND gobject-list.c
In file included from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from gobject-list.c:25:
/usr/include/glib-2.0/gobject/gobject.h:512:34: error: expected identifier or ‘(’ before ‘__typeof__’
 #define g_object_ref(Obj)      ((__typeof__(Obj)) (g_object_ref) (Obj))
                                  ^~~~~~~~~~
gobject-list.c:405:1: note: in expansion of macro ‘g_object_ref’
 g_object_ref (gpointer object)
 ^~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gobject.h:512:51: error: expected ‘)’ before ‘(’ token
 #define g_object_ref(Obj)      ((__typeof__(Obj)) (g_object_ref) (Obj))
                                                   ^
gobject-list.c:405:1: note: in expansion of macro ‘g_object_ref’
 g_object_ref (gpointer object)
 ^~~~~~~~~~~~
make: *** [Makefile:22: gobject-list.o] Fehler 1

from /usr/include/glib-2.0/gobject/gobject.h:

#if defined(g_has_typeof) && GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_56
/* Make reference APIs type safe with macros */
#define g_object_ref(Obj)      ((__typeof__(Obj)) (g_object_ref) (Obj))
#define g_object_ref_sink(Obj) ((__typeof__(Obj)) (g_object_ref_sink) (Obj))
#endif

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.