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

Compiler error: pthreads, gtk+-1.1.5, Solaris 2.5.1




Hello,

  got a compiler error on GTK+ 1.1.5, under Solaris 2.5.1, compiling with
posix thread support.


In file included from gdkthreads.c:25:
/usr/include/pthread.h:243: warning: type defaults to `int' in declaration of `sigset_t'
/usr/include/pthread.h:243: parse error before `*'
gdkthreads.c:27: warning: missing braces around initializer for `gdk_threads_mutex.pthread_mutex_flags'


did a ugly work around for it..

typedef int sigset_t;

before the pthread.h include.. hope there's a better one.. ;)

/Daniel

--
daniel@sdf.se
http://www.sdf.se/~daniel



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