Re: [Bacula-devel] patches for newer gcc

2009-01-11 Thread Kern Sibbald
On Sunday 11 January 2009 18:07:23 Dan Langille wrote: > Eric Bollengier wrote: > > Le Saturday 10 January 2009 01:02:10 Dan Langille, vous avez écrit : > >> Eric Bollengier wrote: > >>> Hello Dan, > >>> > >>> The "pthread" type is not defined on linux... (i have a pthread_t > >>> instead) And on l

Re: [Bacula-devel] patches for newer gcc

2009-01-11 Thread Eric Bollengier
Le Sunday 11 January 2009 18:07:23 Dan Langille, vous avez écrit : > Eric Bollengier wrote: > > Le Saturday 10 January 2009 01:02:10 Dan Langille, vous avez écrit : > >> Eric Bollengier wrote: > >>> Hello Dan, > >>> > >>> The "pthread" type is not defined on linux... (i have a pthread_t > >>> inste

Re: [Bacula-devel] patches for newer gcc

2009-01-11 Thread Dan Langille
Eric Bollengier wrote: > Le Saturday 10 January 2009 01:02:10 Dan Langille, vous avez écrit : >> 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 freebs

Re: [Bacula-devel] patches for newer gcc

2009-01-10 Thread Eric Bollengier
Le Saturday 10 January 2009 01:02:10 Dan Langille, vous avez écrit : > 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

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