From dev-return-4732-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Thu Jun 25 05:07:28 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 14046 invoked from network); 25 Jun 2009 05:07:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jun 2009 05:07:27 -0000 Received: (qmail 22670 invoked by uid 500); 25 Jun 2009 05:07:38 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 22585 invoked by uid 500); 25 Jun 2009 05:07:38 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 22575 invoked by uid 99); 25 Jun 2009 05:07:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 05:07:38 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.132.245 as permitted sender) Received: from [209.85.132.245] (HELO an-out-0708.google.com) (209.85.132.245) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 05:07:28 +0000 Received: by an-out-0708.google.com with SMTP id b6so626516ana.5 for ; Wed, 24 Jun 2009 22:07:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=nPCXAYhEd/+7spJ4RfciMBaDyFT5ai+KzwQ36OeWlNw=; b=EGAFLfPcrfJMD0OOOlxVosgotlnmyX66I2XkW8P4RsxHkgwdy4r/HSqdb+kowua8gv E0sBGZeiOgvpbm/Fus/t89qwXaQaeScJlNDbDAUOT05do/hGoIpvYD2m1H7WzvxVOPoZ ZzHXfnVMApo3oyxzNa6YQ7uMwPbgeIpCLOzq8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=s4hbyDZfmdYLWgous94wNCf8GVfdDnPFlZq7eo3NIBIKSZV7gUm4S+PwMnna5Dm0w5 H25Oyki5/1tdmuV0u5kXrpMKyq3VZzz4Zkey8rTpjA/QlEhv0SmLkltCBRXAZYmxTohk NmPJwTDUt3EqHFNz38N255fXIrxQQ7ciHLGp0= MIME-Version: 1.0 Received: by 10.100.124.11 with SMTP id w11mr2753366anc.165.1245906427446; Wed, 24 Jun 2009 22:07:07 -0700 (PDT) In-Reply-To: <20090625050131.GE26923@delora.autosys.us> References: <20090625050131.GE26923@delora.autosys.us> Date: Thu, 25 Jun 2009 01:07:07 -0400 Message-ID: Subject: Re: Compiler warnings From: Paul Davis To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Jun 25, 2009 at 1:01 AM, Michael McDaniel wrot= e: > > On Thu, Jun 25, 2009 at 12:11:51AM -0400, Paul Davis wrote: >> I've gotten tired of looking at compiler warnings when compiling >> CouchDB but I figure I'd better ping the list before going through and >> just updating everything. >> >> For reference almost all the errors are about the deprecated regexp >> module and deprecated guards. >> >> The guards look to pretty much be guard -> is_guard type changes. the >> is_guard style guards are old enough to be In the Programming Erlang >> book so I'm fairly certain they've been around in any version of >> Erlang that people are using. The only snag is that I'd be patching >> both ibrowse and mochiweb downstream if I just edited them in SVN, so >> I'd like thoughts on that. >> >> As to the regexp -> re module, does anyone know when re made it into >> the stdlib? This one actually worries me a bit that if I update the >> code I'll need to update the Erlang version requirement. Though I >> heard re has been around since R11 or something, so I'm not sure. It >> looks like we're requiring R12B (5.6.0) of Erlang, does anyone have >> that version and can check if the re module exists? > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > =A0 R12B-3 has re module in the docs, R12B-2 does not > =A0 5.6.3 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 5.6.2 > > =A0 http://erlang.org/documentation.html > > ~M > Note to self: Old erlang docs are online. :) So new question, anyone have an issue with bumping the Erlang requirement to at least 5.6.3 (from 5.6.0)? > >> >> Other than those errors there are only a couple unused variable >> messages that need to be silenced. >> >> Let me know if there's anything I'm missing. If re is in that version >> of Erlang or one fairly close to that I'll go through and update at >> least the couchdb sources if not ibrowse and mochiweb. >> >> Paul Davis > > -- > Michael McDaniel > Portland, Oregon, USA > http://autosys.us >