Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / cd / 5b9e77f548ba05b89b717b43559d8ede7f84c4
1 Return-Path: <jani@nikula.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 8A93C431FBC\r
6         for <notmuch@notmuchmail.org>; Fri,  3 Aug 2012 14:52:00 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
9 X-Spam-Flag: NO\r
10 X-Spam-Score: -0.7\r
11 X-Spam-Level: \r
12 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
13         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id xDX8Esr9Z0Pi for <notmuch@notmuchmail.org>;\r
17         Fri,  3 Aug 2012 14:52:00 -0700 (PDT)\r
18 Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com\r
19         [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id AEBEB431FAF\r
22         for <notmuch@notmuchmail.org>; Fri,  3 Aug 2012 14:51:59 -0700 (PDT)\r
23 Received: by mail-lpp01m010-f53.google.com with SMTP id u2so681800lag.26\r
24         for <notmuch@notmuchmail.org>; Fri, 03 Aug 2012 14:51:59 -0700 (PDT)\r
25 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
26         d=google.com; s=20120113;\r
27         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references\r
28         :in-reply-to:references:x-gm-message-state;\r
29         bh=Lkr/U+DfYLJmMelD/8ON3yzhjTz3TnHlY29/2rDe5jY=;\r
30         b=l/V8cnTUDkl8aOHXCFCl5XnXhckEPATQTQCzBgSVbtCnDmYDdXXxxh5NoxL5U6Y8T9\r
31         tYsoPSmBIfvCw1l/xdocvzyB7lmNol4x8jNcWA+dC8k+wzSTiFF1SgMuuH31RMn9bLnM\r
32         iMUjL0ZEaaQYhLJ+54gYG4C7BxjSb3vmVe+B/j6LGMrPFqr0E4hLkVpIOEXQTPURfMSL\r
33         GBTVs0n/Qa3ec5e6jBUJ9dv460y6OGhQ/lW1yFtR4GPj/S3jvdwzBi6RU/Y1imJ6vF8K\r
34         i4G69WFfMNU8q88ah9mex8w01lLTiMOpDsJQRG4eTVcHii5OCMwEy98EfsEVD/hRpb9U\r
35         ZtCw==\r
36 Received: by 10.152.125.133 with SMTP id mq5mr2905256lab.12.1344030719312;\r
37         Fri, 03 Aug 2012 14:51:59 -0700 (PDT)\r
38 Received: from localhost (dsl-hkibrasgw4-fe51df00-27.dhcp.inet.fi.\r
39         [80.223.81.27])\r
40         by mx.google.com with ESMTPS id er3sm2251590lbb.16.2012.08.03.14.51.57\r
41         (version=SSLv3 cipher=OTHER); Fri, 03 Aug 2012 14:51:58 -0700 (PDT)\r
42 From: Jani Nikula <jani@nikula.org>\r
43 To: notmuch@notmuchmail.org\r
44 Subject: [PATCH 1/7] build: drop the -Wswitch-enum warning\r
45 Date: Sat,  4 Aug 2012 00:51:46 +0300\r
46 Message-Id:\r
47  <70c91c3a70586075587d7f6971bbe59edeebd77f.1344028781.git.jani@nikula.org>\r
48 X-Mailer: git-send-email 1.7.9.5\r
49 In-Reply-To: <cover.1344028781.git.jani@nikula.org>\r
50 References: <cover.1344028781.git.jani@nikula.org>\r
51 In-Reply-To: <cover.1344028781.git.jani@nikula.org>\r
52 References: <cover.1344028781.git.jani@nikula.org>\r
53 X-Gm-Message-State:\r
54  ALoCoQnpsbwEb5qc6fRhP7FlJw+AtmBwQntyAVX6bR7wuPg2SUTZtW67yXuM+uKfG2ca4NJ+QJu3\r
55 X-BeenThere: notmuch@notmuchmail.org\r
56 X-Mailman-Version: 2.1.13\r
57 Precedence: list\r
58 List-Id: "Use and development of the notmuch mail system."\r
59         <notmuch.notmuchmail.org>\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
63 List-Post: <mailto:notmuch@notmuchmail.org>\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
66         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
67 X-List-Received-Date: Fri, 03 Aug 2012 21:52:01 -0000\r
68 \r
69 -Wswitch-enum is a bit awkward if a switch statement is intended to\r
70 handle just some of the named codes of an enumeration especially, and\r
71 leave the rest to the default label.\r
72 \r
73 We already have -Wall, which enables -Wswitch by default, and per GCC\r
74 documentation, "The only difference between -Wswitch and this option\r
75 [-Wswitch-enum] is that this option gives a warning about an omitted\r
76 enumeration code even if there is a default label."\r
77 \r
78 Drop -Wswitch-enum to not force listing all named codes of\r
79 enumerations in switch statements that have a default label.\r
80 \r
81 ---\r
82 \r
83 This will be useful in the next patch.\r
84 ---\r
85  configure |    2 +-\r
86  1 file changed, 1 insertion(+), 1 deletion(-)\r
87 \r
88 diff --git a/configure b/configure\r
89 index dc0dba4..4433f42 100755\r
90 --- a/configure\r
91 +++ b/configure\r
92 @@ -528,7 +528,7 @@ fi\r
93  \r
94  WARN_CXXFLAGS=""\r
95  printf "Checking for available C++ compiler warning flags... "\r
96 -for flag in -Wall -Wextra -Wwrite-strings -Wswitch-enum; do\r
97 +for flag in -Wall -Wextra -Wwrite-strings; do\r
98      if ${CC} $flag -o minimal minimal.c > /dev/null 2>&1\r
99      then\r
100         WARN_CXXFLAGS="${WARN_CXXFLAGS}${WARN_CXXFLAGS:+ }${flag}"\r
101 -- \r
102 1.7.9.5\r
103 \r