On Sat, 29 Sep 2001, Justin Erenkrantz wrote:
> > thread.c: In function `apr_thread_once_init':
> > thread.c:261: warning: missing braces around initializer
> > thread.c:261: warning: (near initialization for
> > `once_init.__pthread_once_pad')
>
> I've seen this on Solaris 8 as well. I was tempted to commit the {}s,
> and I know that it compiles fine on Linux 2.4 with the {}. Anyone
> else care to comment? Linux defines PTHREAD_ONCE as 0,
I hadn't actually tried compiling it on Linux 2.4... I just saw that it
was defined there as 0 and the typedef is to a straight int, so it didn't
even occur to me that it still might actually work with {0} instead of
just 0. If so, then great!
--Cliff
--------------------------------------------------------------
Cliff Woolley
[EMAIL PROTECTED]
Charlottesville, VA