Re: [E-devel] Question about eina_inline_lock_posix.x error.

2011-06-02 Thread The Rasterman
On Thu, 2 Jun 2011 09:45:32 +0200 (CEST) Vincent Torri said: > On Thu, 2 Jun 2011, Carsten Haitzler (The Rasterman) wrote: > > > On Mon, 30 May 2011 14:57:16 +0200 Cedric BAIL said: > > > > cedirc is right. the real problem is someone including pthread.h before > > Eina.h and this basically cla

Re: [E-devel] Question about eina_inline_lock_posix.x error.

2011-06-02 Thread Vincent Torri
On Thu, 2 Jun 2011, Carsten Haitzler (The Rasterman) wrote: On Mon, 30 May 2011 14:57:16 +0200 Cedric BAIL said: cedirc is right. the real problem is someone including pthread.h before Eina.h and this basically clashing with somethign ending up not being defined. the _np version also isnt un

Re: [E-devel] Question about eina_inline_lock_posix.x error.

2011-06-02 Thread Vincent Torri
On Thu, 2 Jun 2011, Carsten Haitzler (The Rasterman) wrote: On Mon, 30 May 2011 14:57:16 +0200 Cedric BAIL said: cedirc is right. the real problem is someone including pthread.h before Eina.h and this basically clashing with somethign ending up not being defined. the _np version also isnt un

Re: [E-devel] Question about eina_inline_lock_posix.x error.

2011-06-02 Thread The Rasterman
On Mon, 30 May 2011 14:57:16 +0200 Cedric BAIL said: cedirc is right. the real problem is someone including pthread.h before Eina.h and this basically clashing with somethign ending up not being defined. the _np version also isnt universal so your fix isnt going to always work either. the REAL b

Re: [E-devel] Question about eina_inline_lock_posix.x error.

2011-05-30 Thread Cedric BAIL
hello, On Mon, May 30, 2011 at 2:31 PM, WooHyun Jung wrote: > If I include "pthread.h" first and then "Elementary.h", following error > message is shown. (__USE_UNIX98 = 0) > > /usr/include/eina-1/eina/eina_inline_lock_posix.x:101:41: error: > 'PTHREAD_MUTEX_ERRORCHECK' undeclared (first use in t

[E-devel] Question about eina_inline_lock_posix.x error.

2011-05-30 Thread WooHyun Jung
Hello~ All. If I include "pthread.h" first and then "Elementary.h", following error message is shown. (__USE_UNIX98 = 0) /usr/include/eina-1/eina/eina_inline_lock_posix.x:101:41: error: 'PTHREAD_MUTEX_ERRORCHECK' undeclared (first use in this function) Should eina_inline_lock_posix.x f