[RFC PATCH 1/9] build: use -std=c99 -pedantic for C source
authorJani Nikula <jani@nikula.org>
Sat, 7 Jan 2012 23:26:15 +0000 (01:26 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:41:43 +0000 (09:41 -0800)
de/a145e004b53d0ea6628fe71639dca2c25a4a2e [new file with mode: 0644]

diff --git a/de/a145e004b53d0ea6628fe71639dca2c25a4a2e b/de/a145e004b53d0ea6628fe71639dca2c25a4a2e
new file mode 100644 (file)
index 0000000..5125558
--- /dev/null
@@ -0,0 +1,78 @@
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 0E4B4429E58\r
+       for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 15:26:32 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id ol181d+HUxiH for <notmuch@notmuchmail.org>;\r
+       Sat,  7 Jan 2012 15:26:31 -0800 (PST)\r
+Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com\r
+       [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 2E52E429E29\r
+       for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 15:26:31 -0800 (PST)\r
+Received: by mail-ey0-f181.google.com with SMTP id i1so1939016eaa.26\r
+       for <notmuch@notmuchmail.org>; Sat, 07 Jan 2012 15:26:30 -0800 (PST)\r
+Received: by 10.213.27.195 with SMTP id j3mr2077139ebc.109.1325978790700;\r
+       Sat, 07 Jan 2012 15:26:30 -0800 (PST)\r
+Received: from localhost (dsl-hkibrasgw4-fe5cdc00-23.dhcp.inet.fi.\r
+       [80.220.92.23])\r
+       by mx.google.com with ESMTPS id e12sm117862970eea.5.2012.01.07.15.26.28\r
+       (version=SSLv3 cipher=OTHER); Sat, 07 Jan 2012 15:26:29 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [RFC PATCH 1/9] build: use -std=c99 -pedantic for C source\r
+Date: Sun,  8 Jan 2012 01:26:15 +0200\r
+Message-Id:\r
+ <f5926dadf5feae488f9a951b684fa42ca09bab03.1325977940.git.jani@nikula.org>\r
+X-Mailer: git-send-email 1.7.5.4\r
+In-Reply-To: <cover.1325977940.git.jani@nikula.org>\r
+References: <cover.1325977940.git.jani@nikula.org>\r
+In-Reply-To: <cover.1325977940.git.jani@nikula.org>\r
+References: <cover.1325977940.git.jani@nikula.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 07 Jan 2012 23:26:32 -0000\r
+\r
+Signed-off-by: Jani Nikula <jani@nikula.org>\r
+---\r
+ configure |    4 ++--\r
+ 1 files changed, 2 insertions(+), 2 deletions(-)\r
+\r
+diff --git a/configure b/configure\r
+index e90b76f..f84262d 100755\r
+--- a/configure\r
++++ b/configure\r
+@@ -25,8 +25,8 @@ fi\r
+ # environment variables)\r
+ CC=${CC:-gcc}\r
+ CXX=${CXX:-g++}\r
+-CFLAGS=${CFLAGS:--O2}\r
+-CXXFLAGS=${CXXFLAGS:-\$(CFLAGS)}\r
++CFLAGS=${CFLAGS:--O2 -std=c99 -pedantic}\r
++CXXFLAGS=${CXXFLAGS:--O2}\r
+ LDFLAGS=${LDFLAGS:-}\r
+ XAPIAN_CONFIG=${XAPIAN_CONFIG:-xapian-config}\r
\r
+-- \r
+1.7.5.4\r
+\r