Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 65256 invoked by uid 500); 30 Sep 2001 04:39:39 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 65245 invoked from network); 30 Sep 2001 04:39:39 -0000 Date: Sun, 30 Sep 2001 00:39:40 -0400 (EDT) From: Cliff Woolley X-X-Sender: To: Subject: Re: warnings on sol 2.6 In-Reply-To: <20010929212959.G5790@ebuilt.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 cliffwoolley@yahoo.com Charlottesville, VA