Return-Path: Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Delivered-To: mailing list dev@apr.apache.org Received: (qmail 99765 invoked from network); 29 Jan 2001 01:51:44 -0000 Received: from nat.ebuilt.net (HELO catbert.ebuilt.net) (209.216.43.22) by h31.sny.collab.net with SMTP; 29 Jan 2001 01:51:44 -0000 Received: from waka.ebuilt.net (IDENT:root@i199.ir.ebuilt.net [10.1.2.199]) by catbert.ebuilt.net (8.11.0/8.11.0) with ESMTP id f0T1pPU21764; Sun, 28 Jan 2001 17:51:25 -0800 (PST) Received: (from fielding@localhost) by waka.ebuilt.net (8.11.0/8.11.0) id f0SMn4n00825; Sun, 28 Jan 2001 17:49:04 -0500 Date: Sun, 28 Jan 2001 17:49:04 -0500 From: "Roy T. Fielding" To: rbb@covalent.net Cc: dev@apr.apache.org Subject: Re: cvs commit: apr/include apr_xlate.h Message-ID: <20010128174904.A803@waka.ebuilt.net> Mail-Followup-To: "Roy T. Fielding" , rbb@covalent.net, dev@apr.apache.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.13-current-20010115i In-Reply-To: ; from rbb@covalent.net on Sun, Jan 28, 2001 at 09:27:24AM -0800 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > That's a real PITA. How exactly are we supposed to handle platforms > this? Linux is getting warnings right now, which I dislike. I am developing on Linux (RedHat 7) and was getting warnings with the old code. I don't know why you are getting warnings from the explicit cast. Are you using an extra -Woption besides maintainer-mode and -Werror? Note that the first change I made did cause warnings, but I fixed those before you woke up this morning. The right way to handle it is to add an autoconf test that looks for the warning and sets a symbol accordingly. However, the code will work fine regardless of the warning, so it probably isn't worth the effort to support no warnings on anything but the latest gcc. ....Roy