Re: [Bacula-devel] patches for newer gcc

2009-01-09 Thread Dan Langille
Eric Bollengier wrote: > Hello Dan, > > The "pthread" type is not defined on linux... (i have a pthread_t instead) > And on linux, pthread_t is an integer, which seems to different on freebsd. > > Maybe i can use a void * cast at this place ? In addition to the casting issues, I've been unable t

Re: [Bacula-devel] patches for newer gcc

2009-01-09 Thread Dan Langille
Eric Bollengier wrote: > Hello Dan, > > The "pthread" type is not defined on linux... (i have a pthread_t instead) > And on linux, pthread_t is an integer, which seems to different on freebsd. > > Maybe i can use a void * cast at this place ? or an #ifdef based on the OS? > > Bye > > Le Frida

Re: [Bacula-devel] patches for newer gcc

2009-01-09 Thread Eric Bollengier
Hello Dan, The "pthread" type is not defined on linux... (i have a pthread_t instead) And on linux, pthread_t is an integer, which seems to different on freebsd. Maybe i can use a void * cast at this place ? Bye Le Friday 09 January 2009 19:42:18 Dan Langille, vous avez écrit : > Hi, > > In Fre

[Bacula-devel] patches for newer gcc

2009-01-09 Thread Dan Langille
Hi, In FreeBSD 7.x, we have a newer gcc, which is being extra picky about precision when casting. One of the FreeBSD porters has done some work in this area. His patches are here (and I have pasted them to the end of this message): http://www.atarininja.org/patches/bacula-server-devel.dif