Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3397C200D0A for ; Wed, 4 Oct 2017 22:57:54 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 31EFB1609DD; Wed, 4 Oct 2017 20:57:54 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 772261609D6 for ; Wed, 4 Oct 2017 22:57:53 +0200 (CEST) Received: (qmail 8601 invoked by uid 500); 4 Oct 2017 20:57:52 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 8592 invoked by uid 99); 4 Oct 2017 20:57:52 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Oct 2017 20:57:52 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 87993F5C6B; Wed, 4 Oct 2017 20:57:52 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: astitcher@apache.org To: commits@qpid.apache.org Message-Id: <2c351f8600444627bf25156495c2bcf7@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: qpid-proton git commit: PROTON-1609: Use a gcc flag for C90 that works on gcc 4.4.7 Date: Wed, 4 Oct 2017 20:57:52 +0000 (UTC) archived-at: Wed, 04 Oct 2017 20:57:54 -0000 Repository: qpid-proton Updated Branches: refs/heads/master 2e09b3658 -> 338cb30eb PROTON-1609: Use a gcc flag for C90 that works on gcc 4.4.7 Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/338cb30e Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/338cb30e Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/338cb30e Branch: refs/heads/master Commit: 338cb30eb09bb0344b03240524fa5ed4edc57553 Parents: 2e09b36 Author: Andrew Stitcher Authored: Wed Oct 4 16:55:11 2017 -0400 Committer: Andrew Stitcher Committed: Wed Oct 4 16:55:11 2017 -0400 ---------------------------------------------------------------------- proton-c/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/338cb30e/proton-c/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/proton-c/CMakeLists.txt b/proton-c/CMakeLists.txt index 1a50139..40d1d2e 100644 --- a/proton-c/CMakeLists.txt +++ b/proton-c/CMakeLists.txt @@ -298,7 +298,7 @@ endif() # The examples must be self-contained and build even if these are not set. if (CMAKE_C_COMPILER_ID MATCHES "Clang" OR CMAKE_COMPILER_IS_GNUCC) # Ensure that examples build with c90, to deal with older c++03-as-c compilers. - set(C_EXAMPLE_FLAGS "-std=c90 -pedantic") + set(C_EXAMPLE_FLAGS "-std=iso9899:1990 -pedantic") endif() # Set example flags in parent scope so example/CMakefile can read them. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org